Fixed rare bug when creating VAO
Former-commit-id: 79ee6055feeb683ffc762d581fbe834a68d0bcef
This commit is contained in:
@@ -1429,7 +1429,7 @@ bool NzRenderer::EnsureStateUpdate()
|
||||
indexBufferImpl->Bind();
|
||||
}
|
||||
else
|
||||
NzOpenGL::BindBuffer(nzBufferType_Index, 0);
|
||||
glBindBuffer(NzOpenGL::BufferTarget[nzBufferType_Index], 0);
|
||||
}
|
||||
|
||||
if (s_useVertexArrayObjects)
|
||||
|
||||
Reference in New Issue
Block a user