Check if GL error is set after texture reinit.

This commit is contained in:
Themaister 2012-11-18 15:06:33 +01:00
parent be05eb67d2
commit 77d2c04e26
1 changed files with 3 additions and 0 deletions

View File

@ -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