forked from enlightenment/efl
parent
ee83131e83
commit
8d922d6daa
|
@ -26,7 +26,11 @@ main(int argc, char *argv[])
|
|||
IDirectFBEventBuffer *buffer;
|
||||
DFBResult err;
|
||||
DFBSurfaceDescription dsc;
|
||||
#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
|
||||
DFBCardCapabilities caps;
|
||||
#else
|
||||
DFBGraphicsDeviceDescription caps;
|
||||
#endif
|
||||
DFBDisplayLayerConfig layer_config;
|
||||
DFBInputEvent evt;
|
||||
|
||||
|
|
|
@ -75,7 +75,11 @@ int main( int argc, char *argv[] )
|
|||
IDirectFBEventBuffer *buffer;
|
||||
|
||||
DFBDisplayLayerConfig layer_config;
|
||||
#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
|
||||
DFBCardCapabilities caps;
|
||||
#else
|
||||
DFBGraphicsDeviceDescription caps;
|
||||
#endif
|
||||
IDirectFBWindow* upper;
|
||||
DFBWindowID id1;
|
||||
|
||||
|
@ -88,7 +92,11 @@ int main( int argc, char *argv[] )
|
|||
DFBCHECK(DirectFBInit( &argc, &argv ));
|
||||
DFBCHECK(DirectFBCreate( &dfb ));
|
||||
|
||||
#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
|
||||
dfb->GetCardCapabilities( dfb, &caps );
|
||||
#else
|
||||
dfb->GetDeviceDescription( dfb, &caps );
|
||||
#endif
|
||||
|
||||
dfb->GetDisplayLayer( dfb, DLID_PRIMARY, &layer );
|
||||
|
||||
|
|
Loading…
Reference in New Issue