summaryrefslogtreecommitdiff
path: root/src/render/shaders/shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/shaders/shader.cpp')
-rw-r--r--src/render/shaders/shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/shaders/shader.cpp b/src/render/shaders/shader.cpp
index 97ede0520..f3cb54833 100644
--- a/src/render/shaders/shader.cpp
+++ b/src/render/shaders/shader.cpp
@@ -34,7 +34,7 @@ Shader::Shader(const unsigned int id) :
Shader::~Shader()
{
- if (mShaderId)
+ if (mShaderId != 0u)
mglDeleteShader(mShaderId);
}