summaryrefslogtreecommitdiff
path: root/src/guiEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiEngine.cpp')
-rw-r--r--src/guiEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiEngine.cpp b/src/guiEngine.cpp
index 6363a340a..0abb24792 100644
--- a/src/guiEngine.cpp
+++ b/src/guiEngine.cpp
@@ -323,7 +323,7 @@ GUIEngine::~GUIEngine()
//clean up texture pointers
for (unsigned int i = 0; i < TEX_LAYER_MAX; i++) {
- if (m_textures[i].texture != NULL)
+ if (m_textures[i].texture)
driver->removeTexture(m_textures[i].texture);
}