Hello all,

The polygon drawing code for the DirectFB backend incorrectly casts a
void pointer causing a segfault. The attached patch fixes the issue
and allows an expedite run to complete.

Thanks,
--- evas-1.1.0/src/modules/engines/directfb/evas_engine.c       2011-07-21 
16:12:31.000000000 +0100
+++ evas-1.1.0.mod/src/modules/engines/directfb/evas_engine.c   2012-01-20 
16:21:03.750831816 +0000
@@ -1138,7 +1138,8 @@
 static void
 evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void 
*surface, void *polygon, int x, int y)
 {
-   _dfb_polygon_draw(surface, context, polygon, x, y);
+   DirectFB_Engine_Image_Entry *eim = surface;
+   _dfb_polygon_draw(eim->surface, context, polygon, x, y);
 }
 #else
 static void
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to