From 6806743b129f1310ac89b477a1512851f36dab69 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 1 Jan 2021 21:42:23 +0100 Subject: [PATCH] One good boy point :^) --- inferno/src/inferno/render/buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inferno/src/inferno/render/buffer.cpp b/inferno/src/inferno/render/buffer.cpp index 3e352af..bc7f675 100644 --- a/inferno/src/inferno/render/buffer.cpp +++ b/inferno/src/inferno/render/buffer.cpp @@ -203,7 +203,7 @@ namespace Inferno { element.getTypeGL(), element.getNormalized() ? GL_TRUE : GL_FALSE, vertexBuffer->getLayout().getStride(), - (const void*)element.getOffset()); + reinterpret_cast(element.getOffset())); index++; }