summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-02-27 10:19:06 +0000
committerChristopher Michael <cp.michael@samsung.com>2013-02-27 10:19:06 +0000
commitba863894480ad1a8f14c6992e154b1aaa85dc7e5 (patch)
tree9777eef2c9e42ac4d17e55bf4d3fd0df1923c80c
parent2fb518a691fa4ab7bdd7a566c0bd8b3ea0d46e93 (diff)
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>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 6e6f73f8df..9974ca27b1 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -125,7 +125,7 @@ _merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3)
125 EINA_INLIST_FOREACH(EINA_INLIST_GET(r2), r) 125 EINA_INLIST_FOREACH(EINA_INLIST_GET(r2), r)
126 evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h); 126 evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);
127 } 127 }
128 if (r2) 128 if (r3)
129 { 129 {
130 EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r) 130 EINA_INLIST_FOREACH(EINA_INLIST_GET(r3), r)
131 evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h); 131 evas_common_tilebuf_add_redraw(tb, r->x, r->y, r->w, r->h);