]> git.pld-linux.org Git - packages/DFBSee.git/commitdiff
- API related compilation fix taken from DirectFB CVS
authorhawk <hawk@pld-linux.org>
Thu, 6 Apr 2006 11:23:02 +0000 (11:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DFBSee-API-fix.patch -> 1.1

DFBSee-API-fix.patch [new file with mode: 0644]

diff --git a/DFBSee-API-fix.patch b/DFBSee-API-fix.patch
new file mode 100644 (file)
index 0000000..2d82e46
--- /dev/null
@@ -0,0 +1,33 @@
+===================================================================
+RCS file: /cvs/directfb/DFBSee/src/main.c,v
+retrieving revision 1.58
+retrieving revision 1.59
+diff -u -r1.58 -r1.59
+--- DFBSee/src/main.c  2002/11/01 23:08:39     1.58
++++ DFBSee/src/main.c  2005/04/09 20:53:16     1.59
+@@ -53,10 +53,10 @@
+ main (int    argc, 
+       char **argv)
+ {
+-  DFBCardCapabilities    caps;
+-  DFBSurfaceDescription  dsc;
+-  IDirectFBEventBuffer  *buffer;
+-  IDirectFBSurface      *image_area;
++  DFBGraphicsDeviceDescription  desc;
++  DFBSurfaceDescription         dsc;
++  IDirectFBEventBuffer         *buffer;
++  IDirectFBSurface             *image_area;
+   Media *media = NULL;
+   double zoom;
+   double adjust;
+@@ -78,8 +78,8 @@
+   /* create the super interface */
+   DFBCHECK (DirectFBCreate (&dfb));
+-  dfb->GetCardCapabilities (dfb, &caps);
+-  hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
++  dfb->GetDeviceDescription (dfb, &desc);
++  hw_stretchblit = desc.acceleration_mask & DFXL_STRETCHBLIT;
+   
+   dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);
This page took 0.08188 seconds and 4 git commands to generate.