forked from enlightenment/efl
Fix valid variable check.
When doing double/triple buffering, and we go to merge the rectangles, if we are triple buffering then we should not use the double-buffer rectangles as a valid check for triple-buffer rectangles. Signed-off-by: Christopher Michael <cp.michael@samsung.com>
This commit is contained in:
parent
2fb518a691
commit
ba86389448
|
@ -125,7 +125,7 @@ _merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3)
|
||||||
EINA_INLIST_FOREACH(EINA_INLIST_GET(r2), r)
|
EINA_INLIST_FOREACH(EINA_INLIST_GET(r2), r)
|
||||||
evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
|
evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
|
||||||
}
|
}
|
||||||
if (r2)
|
if (r3)
|
||||||
{
|
{
|
||||||
EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r)
|
EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r)
|
||||||
evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
|
evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
|
||||||
|
|
Loading…
Reference in New Issue