re-enable new directfb code since 0.9.2[34] has been released

SVN revision: 18082
This commit is contained in:
Mike Frysinger 2005-10-29 06:10:11 +00:00
parent d8ffa3edef
commit 5acc3ca593
1 changed files with 8 additions and 8 deletions

View File

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