diff options
-rw-r--r-- | src/mga_video.c | 7 |
1 files 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: |