diff options
author | Johannes Schickel | 2016-03-23 15:55:55 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-23 15:55:55 +0100 |
commit | 114ef5817fe661275f7cb99d490b72f1d287b30e (patch) | |
tree | fe107ea3b10a8d38d1db01ebe1082c73616b96f0 /backends/graphics/opengl/debug.cpp | |
parent | 949af0fa7d5688c693b7a8201ac8b92aee95d274 (diff) | |
parent | 6b2424b6353ca5712afdf80e128a912a3cf78f0c (diff) | |
download | scummvm-rg350-114ef5817fe661275f7cb99d490b72f1d287b30e.tar.gz scummvm-rg350-114ef5817fe661275f7cb99d490b72f1d287b30e.tar.bz2 scummvm-rg350-114ef5817fe661275f7cb99d490b72f1d287b30e.zip |
Merge pull request #711 from lordhoto/opengl-revamp
OpenGLGraphicsManager: Revamp
Diffstat (limited to 'backends/graphics/opengl/debug.cpp')
-rw-r--r-- | backends/graphics/opengl/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/debug.cpp b/backends/graphics/opengl/debug.cpp index d5d73fb5ec..c4319f5e36 100644 --- a/backends/graphics/opengl/debug.cpp +++ b/backends/graphics/opengl/debug.cpp @@ -54,7 +54,7 @@ Common::String getGLErrStr(GLenum error) { void checkGLError(const char *expr, const char *file, int line) { GLenum error; - while ((error = glGetError()) != GL_NO_ERROR) { + while ((error = g_context.glGetError()) != GL_NO_ERROR) { // We cannot use error here because we do not know whether we have a // working screen or not. warning("GL ERROR: %s on %s (%s:%d)", getGLErrStr(error).c_str(), expr, file, line); |