summaryrefslogtreecommitdiff
path: root/src/gx_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_video.c')
-rw-r--r--src/gx_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gx_video.c b/src/gx_video.c
index aecb0ff..354e179 100644
--- a/src/gx_video.c
+++ b/src/gx_video.c
@@ -406,7 +406,7 @@ GXSetupImageVideo(ScreenPtr pScrn)
adapt->QueryImageAttributes = GeodeQueryImageAttributes;
pPriv->filter = 0;
- pPriv->colorKey = pGeode->videoKey;
+ pPriv->colorKey = 0;
pPriv->colorKeyMode = 0;
pPriv->videoStatus = 0;
#if DBUF
@@ -809,7 +809,7 @@ GXSetVideoPosition(int x, int y, int width, int height,
/* Take care of panning when panel is present */
- startAddress = gfx_get_display_offset() - pGeode->FBOffset;
+ startAddress = gfx_get_display_offset();
DeltaY = startAddress / pGeode->Pitch;
DeltaX = startAddress & (pGeode->Pitch - 1);
DeltaX /= (pScrni->bitsPerPixel >> 3);