summaryrefslogtreecommitdiff
path: root/src/render/opengl/mglemu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/opengl/mglemu.cpp')
-rw-r--r--src/render/opengl/mglemu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/opengl/mglemu.cpp b/src/render/opengl/mglemu.cpp
index d0a4d0916..eb5949f0b 100644
--- a/src/render/opengl/mglemu.cpp
+++ b/src/render/opengl/mglemu.cpp
@@ -38,6 +38,9 @@ void APIENTRY emuglTextureSubImage2DEXT(GLuint texture, GLenum target,
xoffset, yoffset,
width, height,
format, type, pixels);
+#ifdef OPENGLERRORS
+ graphicsManager.logError();
+#endif // OPENGLERRORS
}
void APIENTRY emuglActiveTexture(GLenum texture A_UNUSED)