forked from enlightenment/efl
Wayland shm: Fix shadow variable warning
This commit is contained in:
parent
10670094c1
commit
3e2b104cab
|
@ -434,12 +434,12 @@ _evas_shm_surface_swap(Shm_Surface *surface, Eina_Rectangle *rects, unsigned int
|
||||||
|
|
||||||
if ((rects) && (count > 0))
|
if ((rects) && (count > 0))
|
||||||
{
|
{
|
||||||
unsigned int i = 0;
|
unsigned int k = 0;
|
||||||
|
|
||||||
for (; i < count; i++)
|
for (; k < count; k++)
|
||||||
wl_surface_damage(surface->surface,
|
wl_surface_damage(surface->surface,
|
||||||
rects[i].x, rects[i].y,
|
rects[k].x, rects[k].y,
|
||||||
rects[i].w, rects[i].h);
|
rects[k].w, rects[k].h);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
wl_surface_damage(surface->surface, 0, 0, leaf->w, leaf->h);
|
wl_surface_damage(surface->surface, 0, 0, leaf->w, leaf->h);
|
||||||
|
|
Loading…
Reference in New Issue