Remove logically dead code

This commit is contained in:
twinaphex 2016-05-23 21:47:41 +02:00
parent 1eecb570aa
commit 7c0532c3e7

View File

@ -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;