diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-12 21:35:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-12 21:35:44 +0300 |
commit | d9be27bba8941260500066cdd43ebb016356bc67 (patch) | |
tree | 884fa01ee78e6ed9a1c5ea526b1b5cd9e37df24b /src/render/modernopenglgraphics.cpp | |
parent | 18b2da68d0ae157778bab38d6a90f71e5bb95da2 (diff) | |
download | manaverse-d9be27bba8941260500066cdd43ebb016356bc67.tar.gz manaverse-d9be27bba8941260500066cdd43ebb016356bc67.tar.bz2 manaverse-d9be27bba8941260500066cdd43ebb016356bc67.tar.xz manaverse-d9be27bba8941260500066cdd43ebb016356bc67.zip |
Add macro for checking OpenGL function is it null or not null.
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? |