]> hackdaworld.org Git - my-code/ivac.git/commitdiff
enabled flipping
authorhackbard <hackbard>
Sun, 16 Feb 2003 01:54:43 +0000 (01:54 +0000)
committerhackbard <hackbard>
Sun, 16 Feb 2003 01:54:43 +0000 (01:54 +0000)
dfb_api.c

index 6583652551711be5823914f60b9421096eaf5b29..3488f8b252b1504a6ec807b7c0c53dcb747c90ff 100644 (file)
--- a/dfb_api.c
+++ b/dfb_api.c
@@ -52,7 +52,7 @@ int create_primary_surface(void) {
  DFBSurfaceDescription desc;
  memset(&desc,0,sizeof(DFBSurfaceDescription));
  desc.flags=DSDESC_CAPS;
- desc.caps=DSCAPS_PRIMARY;
+ desc.caps=DSCAPS_PRIMARY|DSCAPS_FLIPPING;
  dfb->CreateSurface(dfb,&desc,&primary);
  return 1;
 }