From 8cf6858a6cd958f31521c4ce680cf2011bfb7cc3 Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 12 Aug 2025 18:41:26 +0200 Subject: [add]: Camera --- src/Platform/OpenGL/OpenGLVertexArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Platform/OpenGL/OpenGLVertexArray.cpp') diff --git a/src/Platform/OpenGL/OpenGLVertexArray.cpp b/src/Platform/OpenGL/OpenGLVertexArray.cpp index f172b9f..c24441e 100644 --- a/src/Platform/OpenGL/OpenGLVertexArray.cpp +++ b/src/Platform/OpenGL/OpenGLVertexArray.cpp @@ -39,7 +39,7 @@ namespace Donut element.type, element.normalized ? GL_TRUE : GL_FALSE, layout.GetStride(), - (const void*)element.offset); + reinterpret_cast(static_cast(element.offset))); m_VertexBufferIndex++; } -- cgit v1.3