forked from enlightenment/efl
re-enable new directfb code since 0.9.2[34] has been released
SVN revision: 18082
This commit is contained in:
parent
d8ffa3edef
commit
5acc3ca593
|
@ -75,11 +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)
|
||||
#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
|
||||
DFBCardCapabilities caps;
|
||||
//#else
|
||||
// DFBGraphicsDeviceDescription caps;
|
||||
//#endif
|
||||
#else
|
||||
DFBGraphicsDeviceDescription caps;
|
||||
#endif
|
||||
IDirectFBWindow* upper;
|
||||
DFBWindowID id1;
|
||||
|
||||
|
@ -92,11 +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)
|
||||
#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23)
|
||||
dfb->GetCardCapabilities( dfb, &caps );
|
||||
//#else
|
||||
// dfb->GetDeviceDescription( dfb, &caps );
|
||||
//#endif
|
||||
#else
|
||||
dfb->GetDeviceDescription( dfb, &caps );
|
||||
#endif
|
||||
|
||||
dfb->GetDisplayLayer( dfb, DLID_PRIMARY, &layer );
|
||||
|
||||
|
|
Loading…
Reference in New Issue