summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-12-23 18:57:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-01-07 15:06:03 +0900
commitf876cf31f8d6fd48f7602bd593c24c1a07138d8f (patch)
tree1bddeeb6b604d7f934fe3e44caa567ed79037388 /src/modules
parent592068108bdb2e08ef9229d2617818b9260a8526 (diff)
Evas masking: Fix invalid geometry after mask redraw
The proper geometry should be set when rendering the mask, otherwise we can't create a new surface if it changed dimensions.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_font.c b/src/modules/evas/engines/gl_common/evas_gl_font.c
index e43318a5f3..773ac99df6 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_font.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_font.c
@@ -68,7 +68,7 @@ evas_gl_font_texture_draw(void *context, void *surface EINA_UNUSED, void *draw_c
68 int c, cx, cy, cw, ch; 68 int c, cx, cy, cw, ch;
69 int i; 69 int i;
70 int sx, sy, sw, sh; 70 int sx, sy, sw, sh;
71 double mmx, mmy, mmw, mmh; 71 double mmx = 0.0, mmy = 0.0, mmw = 0.0, mmh = 0.0;
72 72
73 if (dc != gc->dc) return; 73 if (dc != gc->dc) return;
74 tex = fg->ext_dat; 74 tex = fg->ext_dat;