From a2fe2786682e626dae25db2d375280c83b615796 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 18 Aug 2017 20:13:01 +0500 Subject: 2017-08-18 --- src/Renderer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Renderer.cpp') diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 5fc8c2e..76cef4e 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -1,10 +1,10 @@ #include "Renderer.hpp" void RenderState::SetActiveVao(GLuint Vao) { - if (Vao != ActiveVao) { - glBindVertexArray(Vao); - ActiveVao = Vao; - } + glBindVertexArray(Vao); + ActiveVao = Vao; + /*if (Vao != ActiveVao) { + }*/ } void RenderState::SetActiveShader(GLuint Shader) { -- cgit v1.2.3