diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-18 17:13:01 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-18 17:13:01 +0200 |
commit | a2fe2786682e626dae25db2d375280c83b615796 (patch) | |
tree | 34bc8295ad75b967519959e6300aada5531e2345 /src/Renderer.cpp | |
parent | 2017-08-17 (diff) | |
download | AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.gz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.bz2 AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.lz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.xz AltCraft-a2fe2786682e626dae25db2d375280c83b615796.tar.zst AltCraft-a2fe2786682e626dae25db2d375280c83b615796.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Renderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |