summaryrefslogtreecommitdiff
path: root/src/render/vertexes/openglgraphicsvertexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/vertexes/openglgraphicsvertexes.cpp')
-rw-r--r--src/render/vertexes/openglgraphicsvertexes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/vertexes/openglgraphicsvertexes.cpp b/src/render/vertexes/openglgraphicsvertexes.cpp
index 95f19b996..7d7600ee1 100644
--- a/src/render/vertexes/openglgraphicsvertexes.cpp
+++ b/src/render/vertexes/openglgraphicsvertexes.cpp
@@ -92,7 +92,7 @@ void OpenGLGraphicsVertexes::clear() restrict2
}
mVp.clear();
- if (ptr)
+ if (ptr != 0)
{
ptr = 0;
delete []mFloatTexArray;