You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/dfbsee/files/dfbsee-0.7.4-direcfb-0.9.24...

22 lines
732 B

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);