diff options
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index fc5e40062..5d87d415f 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -830,7 +830,7 @@ void ModernOpenGLGraphics::updateScreen() SDL_GL_SwapBuffers(); #endif #ifdef DEBUG_OPENGL - if (mglFrameTerminator) + if (isGLNotNull(mglFrameTerminator)) mglFrameTerminator(); #endif // may be need clear? |