diff options
| author | hachem <im@hachem.wtf> | 2025-08-12 18:41:26 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-12 18:41:26 +0200 |
| commit | 8cf6858a6cd958f31521c4ce680cf2011bfb7cc3 (patch) | |
| tree | 56492ce9db686b719ec16f51b7a7078c41443899 /src/Platform/OpenGL/OpenGLVertexArray.cpp | |
| parent | a2ec7dabd48a70ea69623406ddd0f8f97af403c8 (diff) | |
[add]: Camera
Diffstat (limited to 'src/Platform/OpenGL/OpenGLVertexArray.cpp')
| -rw-r--r-- | src/Platform/OpenGL/OpenGLVertexArray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<const void*>(static_cast<uintptr_t>(element.offset))); m_VertexBufferIndex++; } |
