summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-10 00:04:48 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-10 00:04:48 +0200
commitd5e9270acf2f914fe7603225ac605cd29830bed6 (patch)
tree8a5ce8ee4a2fcd611186df6273c22254beb701a8 /src
parent7739a929100d516e06646a38062df8da1f33f774 (diff)
Fixed the engine sync needed for TexturedVideo.
Diffstat (limited to 'src')
-rw-r--r--src/mga_video.c7
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: