summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 3cad42a3b..4ea219802 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -93,7 +93,7 @@ Graphics::~Graphics()
if (mGLContext)
{
SDL_GL_DeleteContext(mGLContext);
- mGLContext = 0;
+ mGLContext = nullptr;
}
#endif
#endif