summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r--src/render/safeopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index 1f381b2b9..c40637f68 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -464,7 +464,7 @@ void SafeOpenGLGraphics::updateScreen()
SDL_GL_SwapBuffers();
#endif
#ifdef DEBUG_OPENGL
- if (mglFrameTerminator)
+ if (isGLNotNull(mglFrameTerminator))
mglFrameTerminator();
#endif
BLOCK_END("Graphics::updateScreen")