forked from enlightenment/efl
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:
parent
1ed79260ee
commit
8ca2f1bcaa
|
@ -1138,7 +1138,8 @@ evas_engine_dfb_rectangle_draw(void *data, void *context, void *surface, int x,
|
||||||
static void
|
static void
|
||||||
evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y)
|
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
|
#else
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue