Remove obsolete #ifdefs.

This commit is contained in:
Themaister 2013-04-07 02:39:27 +02:00
parent 444b94e089
commit cde994f80f

View File

@ -642,23 +642,13 @@ void gl_init_fbo(void *data, unsigned width, unsigned height)
gl_update_tex_filter_frame(gl); gl_update_tex_filter_frame(gl);
// No need to use FBOs.
#ifndef RARCH_CONSOLE
/* we always want FBO to be at least initialized on startup for consoles */
if (gl_shader_num_func(gl) == 0)
return;
#endif
struct gfx_fbo_scale scale, scale_last; struct gfx_fbo_scale scale, scale_last;
gl_shader_scale(gl, 1, &scale); gl_shader_scale(gl, 1, &scale);
gl_shader_scale(gl, gl_shader_num_func(gl), &scale_last); gl_shader_scale(gl, gl_shader_num_func(gl), &scale_last);
// No need to use FBOs.
#ifndef RARCH_CONSOLE
/* we always want FBO to be at least initialized on startup for consoles */ /* we always want FBO to be at least initialized on startup for consoles */
if (gl_shader_num_func(gl) == 1 && !scale.valid) if (gl_shader_num_func(gl) == 1 && !scale.valid)
return; return;
#endif
if (!load_fbo_proc(gl)) if (!load_fbo_proc(gl))
{ {