summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-15 20:43:24 +0000
committersyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-15 20:43:24 +0000
commit7c94b443089d174e37085df4f5995031faf1fd35 (patch)
tree5caa37d87a7570ac4a4fb257ab86167907677caa
parentaf709594ea4f34f1788ffc566127e54b790f2dc9 (diff)
downloadmpv-7c94b443089d174e37085df4f5995031faf1fd35.tar.bz2
mpv-7c94b443089d174e37085df4f5995031faf1fd35.tar.xz
Don't limit BES to non-synced single buffering when CRTC2 is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27624 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_dfbmga.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c
index 8d22123826..1b2e477fe9 100644
--- a/libvo/vo_dfbmga.c
+++ b/libvo/vo_dfbmga.c
@@ -666,10 +666,6 @@ config( uint32_t width, uint32_t height,
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 @@ blit_to_screen( void )
if (use_bes) {
#if DIRECTFBVERSION > DFB_VERSION(0,9,15)
- if (vo_vsync && !flipping && !use_crtc2)
+ if (vo_vsync && !flipping)
bes->WaitForSync( bes );
#endif