diff options
Diffstat (limited to 'src/platform/opengl/opengl_vertex_array.cpp')
| -rw-r--r-- | src/platform/opengl/opengl_vertex_array.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/opengl/opengl_vertex_array.cpp b/src/platform/opengl/opengl_vertex_array.cpp index 14d4e63..c57479b 100644 --- a/src/platform/opengl/opengl_vertex_array.cpp +++ b/src/platform/opengl/opengl_vertex_array.cpp @@ -39,7 +39,7 @@ namespace Donut element.type, element.normalized ? GL_TRUE : GL_FALSE, layout.get_stride(), - (const void*)element.offset); + reinterpret_cast<const void*>(static_cast<uintptr_t>(element.offset))); m_vertex_buffer_index++; } |
