git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1359
ffa7fe5e-494d-0410-b361-
a75ebd5db220
if GRAPHICS_GTK_DRAWING_AREA
SUBDIRS+=gtk_drawing_area
endif
-if GRAPHICS_DIRECTFB
+if DIRECTFB
SUBDIRS+=directfb
endif
if GRAPHICS_OPENGL
graphics_directfb_new(struct navit *nav, struct graphics_methods *meth, struct attr **attrs)
{
fprintf(stderr,"graphics_directfb_new");
+ struct graphics_priv *this=g_new0(struct graphics_priv,1);
*meth=graphics_methods;
- return &graphics_priv;
+ return this;
}
plugin_init(void)
if GUI_CLUTTER
SUBDIRS += clutter
endif
-if GUI_DIRECTFB
+if DIRECTFB
SUBDIRS += directfb
endif