aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/OpenGL/OpenGLVertexArray.cpp
diff options
context:
space:
mode:
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++;
}