# HG changeset patch # User alex # Date 1066379807 0 # Node ID c470a29b500bd99fb70ba86d7913e9fbcf1d9474 # Parent 0706b9c769d60f8abee0bec356ca4a4fb326559d backward compatibility patch by Ville diff -r 0706b9c769d6 -r c470a29b500b libvo/vo_dfbmga.c --- 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 );