mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
Remove logically dead code
This commit is contained in:
parent
1eecb570aa
commit
7c0532c3e7
@ -3488,9 +3488,6 @@ static void gl_overlay_tex_geom(void *data,
|
||||
|
||||
tex = (GLfloat*)&gl->overlay_tex_coord[image * 8];
|
||||
|
||||
if (!tex)
|
||||
return;
|
||||
|
||||
tex[0] = x;
|
||||
tex[1] = y;
|
||||
tex[2] = x + w;
|
||||
@ -3524,9 +3521,6 @@ static void gl_overlay_vertex_geom(void *data,
|
||||
y = 1.0f - y;
|
||||
h = -h;
|
||||
|
||||
if (!vertex)
|
||||
return;
|
||||
|
||||
vertex[0] = x;
|
||||
vertex[1] = y;
|
||||
vertex[2] = x + w;
|
||||
@ -3567,9 +3561,6 @@ static void gl_overlay_set_alpha(void *data, unsigned image, float mod)
|
||||
|
||||
color = (GLfloat*)&gl->overlay_color_coord[image * 16];
|
||||
|
||||
if (!color)
|
||||
return;
|
||||
|
||||
color[ 0 + 3] = mod;
|
||||
color[ 4 + 3] = mod;
|
||||
color[ 8 + 3] = mod;
|
||||
|
Loading…
x
Reference in New Issue
Block a user