mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
gl: Remove dead code
This commit is contained in:
parent
abb5c37a18
commit
7b98632b18
6
gfx/gl.c
6
gfx/gl.c
@ -409,9 +409,6 @@ static void gl_compute_fbo_geometry(gl_t *gl, unsigned width, unsigned height,
|
|||||||
case RARCH_SCALE_VIEWPORT:
|
case RARCH_SCALE_VIEWPORT:
|
||||||
gl->fbo_rect[i].img_width = gl->fbo_rect[i].max_img_width = gl->fbo_scale[i].scale_x * vp_width;
|
gl->fbo_rect[i].img_width = gl->fbo_rect[i].max_img_width = gl->fbo_scale[i].scale_x * vp_width;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (gl->fbo_scale[i].type_y)
|
switch (gl->fbo_scale[i].type_y)
|
||||||
@ -428,9 +425,6 @@ static void gl_compute_fbo_geometry(gl_t *gl, unsigned width, unsigned height,
|
|||||||
case RARCH_SCALE_VIEWPORT:
|
case RARCH_SCALE_VIEWPORT:
|
||||||
gl->fbo_rect[i].img_height = gl->fbo_rect[i].max_img_height = gl->fbo_scale[i].scale_y * vp_height;
|
gl->fbo_rect[i].img_height = gl->fbo_rect[i].max_img_height = gl->fbo_scale[i].scale_y * vp_height;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gl->fbo_rect[i].img_width > (unsigned)max_size)
|
if (gl->fbo_rect[i].img_width > (unsigned)max_size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user