From b07d612506768b16f309f0cae5679aefd200947c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Sun, 25 Jul 2021 21:12:41 +0200 Subject: [PATCH] OpenGLCommandBuffer: Don't force VAO bind each time --- src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp index 127b1b22f..96dd543c5 100644 --- a/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp +++ b/src/Nazara/OpenGLRenderer/OpenGLCommandBuffer.cpp @@ -322,7 +322,7 @@ namespace Nz } const GL::VertexArray& vao = context.GetVaoCache().Get(vaoSetup); - context.BindVertexArray(vao.GetObjectId(), true); + context.BindVertexArray(vao.GetObjectId()); } void OpenGLCommandBuffer::Release()