From 77d2c04e26d39b3894ab91aa2db110680afc5d5d Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 18 Nov 2012 15:06:33 +0100 Subject: [PATCH] Check if GL error is set after texture reinit. --- gfx/gl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 9a4de6a06d..ce5d5ae559 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1290,6 +1290,9 @@ static void gl_reinit_textures(gl_t *gl, const video_info_t *video) } else RARCH_LOG("Reinitializing textures skipped.\n"); + + if (!gl_check_error()) + RARCH_LOG("GL error reported while reinitializing textures. This should not happen ...\n"); } #endif