diff --git a/gfx/context/ps3_ctx.c b/gfx/context/ps3_ctx.c index 0e5ecf9119..7e1679204b 100644 --- a/gfx/context/ps3_ctx.c +++ b/gfx/context/ps3_ctx.c @@ -399,8 +399,6 @@ static void gfx_ctx_set_filtering(unsigned index, bool set_smooth) static void gfx_ctx_set_fbo(bool enable) { - gl_t *gl = driver.video_data; - gl->fbo_inited = enable; } static void gfx_ctx_apply_fbo_state_changes(unsigned mode) diff --git a/gfx/gl.c b/gfx/gl.c index ea0cd590d1..7d846a24ae 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1608,7 +1608,6 @@ static void gl_start(void) gl_t *gl = (gl_t*)driver.video_data; - context_set_fbo_func(g_settings.video.render_to_texture); context_get_available_resolutions_func(); gl_init_menu(gl);