forked from enlightenment/efl
parent
b969a1fff8
commit
e0ac761a1f
|
@ -26,11 +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
|
||||
//#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,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 );
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef _WIN32_WCE
|
||||
# include <sys/time.h>
|
||||
|
|
Loading…
Reference in New Issue