1 --- ./src/main.c.orig 2005-08-12 05:48:27.000000000 +0200
2 +++ ./src/main.c 2005-08-12 05:50:41.000000000 +0200
7 - DFBCardCapabilities caps;
8 + DFBGraphicsDeviceDescription desc;
9 DFBSurfaceDescription dsc;
10 IDirectFBEventBuffer *buffer;
11 IDirectFBSurface *image_area;
13 /* create the super interface */
14 DFBCHECK (DirectFBCreate (&dfb));
16 - dfb->GetCardCapabilities (dfb, &caps);
17 - hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
18 + dfb->GetDeviceDescription (dfb, &desc);
19 + hw_stretchblit = desc.acceleration_mask & DFXL_STRETCHBLIT;
21 dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);