cedric pushed a commit to branch master.
commit 906d7adad747076ba3660e6827b3d35e0a34fcb9
Author: Cedric Bail <[email protected]>
Date: Mon Jul 15 19:02:13 2013 +0900
evas: put the test after we had a chance to update the texture.
---
src/modules/evas/engines/gl_common/evas_gl_image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c
b/src/modules/evas/engines/gl_common/evas_gl_image.c
index 8874530..fc35a24 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -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,
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk