summaryrefslogtreecommitdiffstats
path: root/src/Renderer.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Renderer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Renderer.hpp b/src/Renderer.hpp
index de2e331..cd0d7b0 100644
--- a/src/Renderer.hpp
+++ b/src/Renderer.hpp
@@ -3,8 +3,8 @@
#include <GL/glew.h>
class RenderState {
- GLuint ActiveVao = 0;
- GLuint ActiveShader = 0;
+ GLuint ActiveVao = -1;
+ GLuint ActiveShader = -1;
public:
void SetActiveVao(GLuint Vao);
void SetActiveShader(GLuint Shader);