changeset 11157:c470a29b500b

backward compatibility patch by Ville
author alex
date Fri, 17 Oct 2003 08:36:47 +0000
parents 0706b9c769d6
children 85f4534d1edb
files libvo/vo_dfbmga.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c	Fri Oct 17 08:23:12 2003 +0000
+++ b/libvo/vo_dfbmga.c	Fri Oct 17 08:36:47 2003 +0000
@@ -951,8 +951,10 @@
      DFBRectangle *srect = NULL;
 
      if (use_bes) {
+#if DIRECTFBVERSION > 915
           if (vo_vsync && !flipping && !use_crtc2)
                bes->WaitForSync( bes );
+#endif
 
           besframe->Blit( besframe, blitsrc, NULL, besrect.x, besrect.y );
           blitsrc = besframe;
@@ -960,8 +962,10 @@
      }
 
      if (use_crtc2) {
+#if DIRECTFBVERSION > 915
           if (vo_vsync && !flipping)
                crtc2->WaitForSync( crtc2 );
+#endif
 
      if (stretch)
                c2frame->StretchBlit( c2frame, blitsrc, srect, &c2rect );