summaryrefslogtreecommitdiff
blob: 8a8d0cf4d3fab9832792695c87d415cb12742834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nru orig-DFBSee-0.7.4/src/main.c DFBSee-0.7.4/src/main.c
--- orig-DFBSee-0.7.4/src/main.c	2005-12-05 15:12:38.000000000 +0800
+++ DFBSee-0.7.4/src/main.c	2005-12-05 15:14:14.000000000 +0800
@@ -53,7 +53,7 @@
 main (int    argc, 
       char **argv)
 {
-  DFBCardCapabilities    caps;
+  DFBGraphicsDeviceDescription    caps;
   DFBSurfaceDescription  dsc;
   IDirectFBEventBuffer  *buffer;
   IDirectFBSurface      *image_area;
@@ -78,7 +78,7 @@
   /* create the super interface */
   DFBCHECK (DirectFBCreate (&dfb));
 
-  dfb->GetCardCapabilities (dfb, &caps);
+  dfb->GetDeviceDescription (dfb, &caps);
   hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
   
   dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);