Prevent warning

This commit is contained in:
twinaphex 2017-11-12 17:17:40 +01:00
parent 5eadf021cf
commit 3ab26b6738

View File

@ -450,7 +450,7 @@ static uintptr_t gl_get_current_framebuffer(void *data)
{
gl_t *gl = (gl_t*)data;
if (!gl || !gl->fbo_inited)
return NULL;
return 0;
return gl->hw_render_fbo[(gl->tex_index + 1) % gl->textures];
}