summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-25 16:55:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-25 16:55:35 +0300
commit4821f538a888370eb80ec28f9bab269a4427a63c (patch)
tree8e78fcb52df8b10cdd4cd2ed3859ad29c4c4c711 /src/graphicsmanager.cpp
parent51b81830c032fe255254a269b85679a89aa3728d (diff)
downloadmv-4821f538a888370eb80ec28f9bab269a4427a63c.tar.gz
mv-4821f538a888370eb80ec28f9bab269a4427a63c.tar.bz2
mv-4821f538a888370eb80ec28f9bab269a4427a63c.tar.xz
mv-4821f538a888370eb80ec28f9bab269a4427a63c.zip
Report into log OpenGL errors if enabled configure option --enable-openglerrors.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp2
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 "";
}