summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-23 03:51:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-23 13:13:02 +0300
commit4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e (patch)
tree3ccee6444e6c044e895d3bb70942f1547addb230 /src/graphicsmanager.h
parent89106a96cd86042415d19f307a4ade5f1fae8b5d (diff)
downloadmanaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.gz
manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.bz2
manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.tar.xz
manaverse-4ab2c210277be6cf16f86e2fcf4fa5a6c090b45e.zip
Add support for OpenGL debug extensions.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 53de59c46..9523fb3d0 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -111,6 +111,8 @@ class GraphicsManager final
{ return mUseTextureSampler; }
unsigned int getLastError();
+
+ void updateDebugLog();
#endif
private:
@@ -140,6 +142,8 @@ class GraphicsManager final
bool mUseTextureSampler;
GLuint mTextureSampler;
+
+ int mSupportDebug;
#endif
bool mUseAtlases;