aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/OpenGL/OpenGLVertexArray.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-12 18:41:26 +0200
committerhachem <im@hachem.wtf>2025-08-12 18:41:26 +0200
commit8cf6858a6cd958f31521c4ce680cf2011bfb7cc3 (patch)
tree56492ce9db686b719ec16f51b7a7078c41443899 /src/Platform/OpenGL/OpenGLVertexArray.cpp
parenta2ec7dabd48a70ea69623406ddd0f8f97af403c8 (diff)
[add]: Camera
Diffstat (limited to 'src/Platform/OpenGL/OpenGLVertexArray.cpp')
-rw-r--r--src/Platform/OpenGL/OpenGLVertexArray.cpp2
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++;
}