Log if FBO targets fail to initialize.
This commit is contained in:
parent
f195e1f153
commit
be05eb67d2
1
gfx/gl.c
1
gfx/gl.c
|
@ -582,6 +582,7 @@ void gl_init_fbo(gl_t *gl, unsigned width, unsigned height)
|
||||||
if (!gl_create_fbo_targets(gl))
|
if (!gl_create_fbo_targets(gl))
|
||||||
{
|
{
|
||||||
glDeleteTextures(gl->fbo_pass, gl->fbo_texture);
|
glDeleteTextures(gl->fbo_pass, gl->fbo_texture);
|
||||||
|
RARCH_ERR("Failed to create FBO targets. Will continue without FBO.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue