diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-12-25 07:42:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 07:42:52 +0100 |
commit | 40421159568518bb7573903d14a2c69c64dead95 (patch) | |
tree | 15c830dce151bf0b427123efd214173742887e8e /src/Renderer.cpp | |
parent | Merge pull request #70 from LaG1924/ftr/build-3 (diff) | |
parent | Fixed missing APIENTRY linux build (diff) | |
download | AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.gz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.bz2 AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.lz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.xz AltCraft-40421159568518bb7573903d14a2c69c64dead95.tar.zst AltCraft-40421159568518bb7573903d14a2c69c64dead95.zip |
Diffstat (limited to 'src/Renderer.cpp')
-rw-r--r-- | src/Renderer.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Renderer.cpp b/src/Renderer.cpp deleted file mode 100644 index 947fd6f..0000000 --- a/src/Renderer.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "Renderer.hpp" - -#include <optick.h> - -void RenderState::SetActiveVao(GLuint Vao) { - OPTICK_EVENT(); - glBindVertexArray(Vao); - ActiveVao = Vao; -} - -void RenderState::SetActiveShader(GLuint Shader) { - if (Shader != ActiveShader) { - glUseProgram(Shader); - ActiveShader = Shader; - } -}
\ No newline at end of file |