aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/evas_gl_font.c
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/evas/engines/gl_common/evas_gl_font.c
parentEvas masking: Fix another set of rendering artifacts (diff)
downloadefl-f876cf31f8d6fd48f7602bd593c24c1a07138d8f.tar.gz
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/evas/engines/gl_common/evas_gl_font.c')
-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
int c, cx, cy, cw, ch;
int i;
int sx, sy, sw, sh;
- double mmx, mmy, mmw, mmh;
+ double mmx = 0.0, mmy = 0.0, mmw = 0.0, mmh = 0.0;
if (dc != gc->dc) return;
tex = fg->ext_dat;