summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-02-27 10:17:55 +0000
committerChristopher Michael <cp.michael@samsung.com>2013-02-27 10:17:55 +0000
commit2fb518a691fa4ab7bdd7a566c0bd8b3ea0d46e93 (patch)
treeaaea9b161385b770e949f6d452681a0723391a48
parent8e3671eab74b7ffa5ef2b67e798a23eb707621aa (diff)
downloadefl-2fb518a691fa4ab7bdd7a566c0bd8b3ea0d46e93.tar.gz
Fix incorrect variable check.
When using swapping (double/triple), and we go to merge rectangles, then we should check for a valid triple buffer (not double) before trying to merge the 3rd buffer rectangles. Signed-off-by: Christopher Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 27a1c4e73f..d6df932034 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -959,7 +959,7 @@ _merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3)
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)
{