Cleanup
This commit is contained in:
parent
7bd705983e
commit
bde5905eba
|
@ -233,6 +233,7 @@ static void input_overlay_set_vertex_geom(input_overlay_t *ol)
|
||||||
ol->active->mod_x, ol->active->mod_y,
|
ol->active->mod_x, ol->active->mod_y,
|
||||||
ol->active->mod_w, ol->active->mod_h);
|
ol->active->mod_w, ol->active->mod_h);
|
||||||
|
|
||||||
|
if (ol->iface->vertex_geom)
|
||||||
for (i = 0; i < ol->active->size; i++)
|
for (i = 0; i < ol->active->size; i++)
|
||||||
{
|
{
|
||||||
struct overlay_desc *desc = &ol->active->descs[i];
|
struct overlay_desc *desc = &ol->active->descs[i];
|
||||||
|
@ -240,7 +241,6 @@ static void input_overlay_set_vertex_geom(input_overlay_t *ol)
|
||||||
if (!desc->image.pixels)
|
if (!desc->image.pixels)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ol->iface->vertex_geom)
|
|
||||||
ol->iface->vertex_geom(ol->iface_data, desc->image_index,
|
ol->iface->vertex_geom(ol->iface_data, desc->image_index,
|
||||||
desc->mod_x, desc->mod_y, desc->mod_w, desc->mod_h);
|
desc->mod_x, desc->mod_y, desc->mod_w, desc->mod_h);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue