diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-10 00:04:48 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-10 00:04:48 +0200 |
commit | d5e9270acf2f914fe7603225ac605cd29830bed6 (patch) | |
tree | 8a5ce8ee4a2fcd611186df6273c22254beb701a8 | |
parent | 7739a929100d516e06646a38062df8da1f33f774 (diff) |
Fixed the engine sync needed for TexturedVideo.
-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: |