diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-25 16:55:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-25 16:55:35 +0300 |
commit | 4821f538a888370eb80ec28f9bab269a4427a63c (patch) | |
tree | 8e78fcb52df8b10cdd4cd2ed3859ad29c4c4c711 /src/graphicsmanager.cpp | |
parent | 51b81830c032fe255254a269b85679a89aa3728d (diff) | |
download | manaplus-4821f538a888370eb80ec28f9bab269a4427a63c.tar.gz manaplus-4821f538a888370eb80ec28f9bab269a4427a63c.tar.bz2 manaplus-4821f538a888370eb80ec28f9bab269a4427a63c.tar.xz manaplus-4821f538a888370eb80ec28f9bab269a4427a63c.zip |
Report into log OpenGL errors if enabled configure option --enable-openglerrors.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 2cc41bb15..962faf860 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1490,7 +1490,7 @@ std::string GraphicsManager::errorToString(const GLenum error) default: break; } - return errmsg; + return "OpenGL error: " + errmsg; } return ""; } |