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 <will.newton@gmail.com>



SVN revision: 67543
This commit is contained in:
Gustavo Sverzut Barbieri 2012-01-25 18:40:22 +00:00
parent 1ed79260ee
commit 8ca2f1bcaa
1 changed files with 2 additions and 1 deletions

View File

@ -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