mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Remove obsolete #ifdefs.
This commit is contained in:
parent
444b94e089
commit
cde994f80f
10
gfx/gl.c
10
gfx/gl.c
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user