fix incorrect glBindBuffer argument
This commit is contained in:
parent
dc9344f09b
commit
b0db10f77a
|
@ -475,7 +475,7 @@ void GraphicsDevice::BindIBO(IndexBuffer *buffer)
|
||||||
void GraphicsDevice::BindClientBuffer(IndexBuffer *buffer)
|
void GraphicsDevice::BindClientBuffer(IndexBuffer *buffer)
|
||||||
{
|
{
|
||||||
STACK_TRACE;
|
STACK_TRACE;
|
||||||
GL_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0));
|
GL_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsDevice::SetShaderVertexAttributes()
|
void GraphicsDevice::SetShaderVertexAttributes()
|
||||||
|
|
Reference in a new issue