This commit is contained in:
twinaphex 2018-09-15 08:12:18 +02:00
parent 7bd705983e
commit bde5905eba
1 changed files with 7 additions and 7 deletions

View File

@ -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_w, ol->active->mod_h);
if (ol->iface->vertex_geom)
for (i = 0; i < ol->active->size; 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)
continue;
if (ol->iface->vertex_geom)
ol->iface->vertex_geom(ol->iface_data, desc->image_index,
desc->mod_x, desc->mod_y, desc->mod_w, desc->mod_h);
}