Check if GL error is set after texture reinit.
This commit is contained in:
parent
be05eb67d2
commit
77d2c04e26
3
gfx/gl.c
3
gfx/gl.c
|
@ -1290,6 +1290,9 @@ static void gl_reinit_textures(gl_t *gl, const video_info_t *video)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
RARCH_LOG("Reinitializing textures skipped.\n");
|
RARCH_LOG("Reinitializing textures skipped.\n");
|
||||||
|
|
||||||
|
if (!gl_check_error())
|
||||||
|
RARCH_LOG("GL error reported while reinitializing textures. This should not happen ...\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue