From d5e9270acf2f914fe7603225ac605cd29830bed6 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 10 Sep 2006 00:04:48 +0200 Subject: Fixed the engine sync needed for TexturedVideo. --- src/mga_video.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/mga_video.c b/src/mga_video.c index 1608805..0c2565f 100644 --- a/src/mga_video.c +++ b/src/mga_video.c @@ -909,11 +909,8 @@ MGAPutImage( offset += pPriv->currentBuffer * new_size * bpp; dst_start = pMga->FbStart + offset + left + (top * dstPitch); - if(pMga->TexturedVideo && pMga->AccelInfoRec->NeedToSync && - ((long)data != pPriv->lastPort)) - { - MGAStormSync(pScrn); - } + if (pMga->TexturedVideo && ((long)data != pPriv->lastPort)) + MGA_SYNC(pMga, pScrn); switch(id) { case FOURCC_YV12: -- cgit v1.2.3