fix incorrect glBindBuffer argument

This commit is contained in:
Gered 2013-04-01 11:41:21 -04:00
parent dc9344f09b
commit b0db10f77a

View file

@ -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()