Fix debug compile error

This commit is contained in:
Brad Davis 2015-06-18 17:05:49 -07:00
parent edfb25bfe2
commit 8e5da5acaa

View file

@ -145,7 +145,7 @@ bool GLBackend::checkGLError(const char* name) {
bool GLBackend::checkGLErrorDebug(const char* name) {
#ifdef DEBUG
checkGLError(name);
return checkGLError(name);
#else
Q_UNUSED(name);
return false;