evas: put the test after we had a chance to update the texture.

This commit is contained in:
Cedric Bail 2013-07-15 19:02:13 +09:00
parent c3916df200
commit 906d7adad7
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,6 @@ evas_gl_common_image_map_draw(Evas_Engine_GL_Context *gc, Evas_GL_Image *im,
int r, g, b, a;
int c, cx, cy, cw, ch;
if (!im->tex) return;
dc = gc->dc;
if (dc->mul.use)
@ -693,6 +692,7 @@ evas_gl_common_image_map_draw(Evas_Engine_GL_Context *gc, Evas_GL_Image *im,
c = dc->clip.use;
cx = dc->clip.x; cy = dc->clip.y;
cw = dc->clip.w; ch = dc->clip.h;
if (!im->tex) return;
im->tex->im = im;
evas_gl_common_context_image_map_push(gc, im->tex, npoints, p,