diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-25 21:47:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-26 00:47:34 +0300 |
commit | 69cfcb156d4224753d439ac3cd7708366e27e365 (patch) | |
tree | 89ea4bc8a5b1b61ac46619f021d5e9905f5e1642 /src/render/normalopenglgraphics.cpp | |
parent | 4821f538a888370eb80ec28f9bab269a4427a63c (diff) | |
download | manaplus-69cfcb156d4224753d439ac3cd7708366e27e365.tar.gz manaplus-69cfcb156d4224753d439ac3cd7708366e27e365.tar.bz2 manaplus-69cfcb156d4224753d439ac3cd7708366e27e365.tar.xz manaplus-69cfcb156d4224753d439ac3cd7708366e27e365.zip |
Report also altas creation OpenGL errors if enabled.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index c6b3f33ec..73013773f 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -24,6 +24,10 @@ #include "render/normalopenglgraphics.h" +#ifdef OPENGLERRORS +#include "graphicsmanager.h" +#endif // OPENGLERRORS + #ifdef DEBUG_OPENGL #include "render/opengl/mgl.h" #endif // DEBUG_OPENGL |