]> git.pld-linux.org Git - packages/DFBSee.git/blob - DFBSee-API-fix.patch
- gcc4 fix.
[packages/DFBSee.git] / DFBSee-API-fix.patch
1 ===================================================================
2 RCS file: /cvs/directfb/DFBSee/src/main.c,v
3 retrieving revision 1.58
4 retrieving revision 1.59
5 diff -u -r1.58 -r1.59
6 --- DFBSee/src/main.c   2002/11/01 23:08:39     1.58
7 +++ DFBSee/src/main.c   2005/04/09 20:53:16     1.59
8 @@ -53,10 +53,10 @@
9  main (int    argc, 
10        char **argv)
11  {
12 -  DFBCardCapabilities    caps;
13 -  DFBSurfaceDescription  dsc;
14 -  IDirectFBEventBuffer  *buffer;
15 -  IDirectFBSurface      *image_area;
16 +  DFBGraphicsDeviceDescription  desc;
17 +  DFBSurfaceDescription         dsc;
18 +  IDirectFBEventBuffer         *buffer;
19 +  IDirectFBSurface             *image_area;
20    Media *media = NULL;
21    double zoom;
22    double adjust;
23 @@ -78,8 +78,8 @@
24    /* create the super interface */
25    DFBCHECK (DirectFBCreate (&dfb));
26  
27 -  dfb->GetCardCapabilities (dfb, &caps);
28 -  hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
29 +  dfb->GetDeviceDescription (dfb, &desc);
30 +  hw_stretchblit = desc.acceleration_mask & DFXL_STRETCHBLIT;
31    
32    dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);
33  
This page took 0.076134 seconds and 3 git commands to generate.