changeset 27592:6398d845ae76

Don't limit BES to non-synced single buffering when CRTC2 is used.
author syrjala
date Mon, 15 Sep 2008 20:43:24 +0000
parents 5ab1614e3f0a
children f75481d143ad
files libvo/vo_dfbmga.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c	Mon Sep 15 20:41:08 2008 +0000
+++ b/libvo/vo_dfbmga.c	Mon Sep 15 20:43:24 2008 +0000
@@ -666,10 +666,6 @@
           dlc.flags       = DLCONF_WIDTH | DLCONF_HEIGHT | DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
           dlc.width       = besrect.w + besrect.x * 2;
           dlc.height      = besrect.h + besrect.y * 2;
-
-          if (use_crtc2)
-               dlc.buffermode = DLBM_FRONTONLY;
-          else
                dlc.buffermode = buffermode;
 
           if ((res = bes->TestConfiguration( bes, &dlc, &failed )) != DFB_OK) {
@@ -1173,7 +1169,7 @@
 
      if (use_bes) {
 #if DIRECTFBVERSION > DFB_VERSION(0,9,15)
-          if (vo_vsync && !flipping && !use_crtc2)
+          if (vo_vsync && !flipping)
                bes->WaitForSync( bes );
 #endif