aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/Shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Shader.hpp')
-rw-r--r--src/render/Shader.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp
index 3d3b3ddb..fc06d68b 100644
--- a/src/render/Shader.hpp
+++ b/src/render/Shader.hpp
@@ -5,7 +5,9 @@
class CShader {
public:
- GLuint program;
+ ~CShader();
+
+ GLuint program = 0;
GLint proj;
GLint color;
GLint tex;