OpenGLCommandBuffer: Don't force VAO bind each time

This commit is contained in:
Jérôme Leclercq
2021-07-25 21:12:41 +02:00
parent e4a38d45bd
commit b07d612506

View File

@@ -322,7 +322,7 @@ namespace Nz
} }
const GL::VertexArray& vao = context.GetVaoCache().Get(vaoSetup); const GL::VertexArray& vao = context.GetVaoCache().Get(vaoSetup);
context.BindVertexArray(vao.GetObjectId(), true); context.BindVertexArray(vao.GetObjectId());
} }
void OpenGLCommandBuffer::Release() void OpenGLCommandBuffer::Release()