Log if FBO targets fail to initialize.

This commit is contained in:
Themaister 2012-11-18 15:04:42 +01:00
parent f195e1f153
commit be05eb67d2

View File

@ -582,6 +582,7 @@ void gl_init_fbo(gl_t *gl, unsigned width, unsigned height)
if (!gl_create_fbo_targets(gl))
{
glDeleteTextures(gl->fbo_pass, gl->fbo_texture);
RARCH_ERR("Failed to create FBO targets. Will continue without FBO.\n");
return;
}