From bbe7c4b8c532b9b79ba647c5ec6a8beb143d9076 Mon Sep 17 00:00:00 2001 From: barbieri Date: Wed, 25 Jan 2012 18:40:22 +0000 Subject: [PATCH] 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. By: Will Newton git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67543 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/directfb/evas_engine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/engines/directfb/evas_engine.c b/src/modules/engines/directfb/evas_engine.c index 17914ab..5347d2d 100644 --- a/src/modules/engines/directfb/evas_engine.c +++ b/src/modules/engines/directfb/evas_engine.c @@ -1138,7 +1138,8 @@ evas_engine_dfb_rectangle_draw(void *data, void *context, void *surface, int x, 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 -- 2.7.4