summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-23 13:44:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-23 13:50:37 +0300
commitdee913f0153584ab913a7d8304abe643991e50bc (patch)
tree9a6ddbfe4aa455cb999dbe18cc30f50c5bc599c2 /src/graphicsmanager.h
parentdd55eb469163b4863130a6adba96eb334a10e017 (diff)
downloadplus-dee913f0153584ab913a7d8304abe643991e50bc.tar.gz
plus-dee913f0153584ab913a7d8304abe643991e50bc.tar.bz2
plus-dee913f0153584ab913a7d8304abe643991e50bc.tar.xz
plus-dee913f0153584ab913a7d8304abe643991e50bc.zip
Move OpenGL error conversion to string to graphicsmanager.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 9523fb3d0..ccc988523 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -112,6 +112,8 @@ class GraphicsManager final
unsigned int getLastError();
+ static std::string errorToString(GLenum error);
+
void updateDebugLog();
#endif