diff --git a/src/framework/graphics/graphicsdevice.cpp b/src/framework/graphics/graphicsdevice.cpp index 50b78d5..5a802b7 100644 --- a/src/framework/graphics/graphicsdevice.cpp +++ b/src/framework/graphics/graphicsdevice.cpp @@ -475,7 +475,7 @@ void GraphicsDevice::BindIBO(IndexBuffer *buffer) void GraphicsDevice::BindClientBuffer(IndexBuffer *buffer) { STACK_TRACE; - GL_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); } void GraphicsDevice::SetShaderVertexAttributes()