X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fhackbard%2Fdfbsee%2Fnew_api.patch;fp=packages%2Fhackbard%2Fdfbsee%2Fnew_api.patch;h=882ea6cd34c172605e14d1ab402b30c70c5b423e;hb=1f419bd6336b0bccc61a567dbf5444875df74469;hp=0000000000000000000000000000000000000000;hpb=6a4a665751ecc7199f813268265094006359319d;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/hackbard/dfbsee/new_api.patch b/packages/hackbard/dfbsee/new_api.patch new file mode 100644 index 0000000..882ea6c --- /dev/null +++ b/packages/hackbard/dfbsee/new_api.patch @@ -0,0 +1,22 @@ +--- ./src/main.c.orig 2005-08-12 05:48:27.000000000 +0200 ++++ ./src/main.c 2005-08-12 05:50:41.000000000 +0200 +@@ -53,7 +53,7 @@ + main (int argc, + char **argv) + { +- DFBCardCapabilities caps; ++ DFBGraphicsDeviceDescription desc; + DFBSurfaceDescription dsc; + IDirectFBEventBuffer *buffer; + IDirectFBSurface *image_area; +@@ -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); +