From acd9f3e28fcf5e91e09d8bdca4cc58681b1fc92a Mon Sep 17 00:00:00 2001 From: Wang Zhenyu Date: Tue, 27 Feb 2007 13:56:31 +0800 Subject: [PATCH] Fix typo when assign overlay reg mem pointer --- src/i830_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i830_video.c b/src/i830_video.c index 4c64b309..e580dab5 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2175,7 +2175,8 @@ I830PutImage(ScrnInfoPtr pScrn, if (pPriv->textured) overlay = NULL; else - (I830OverlayRegPtr) (pI830->FbBase + pI830->overlay_regs->offset); + overlay = (I830OverlayRegPtr) (pI830->FbBase + + pI830->overlay_regs->offset); #if 0 ErrorF("I830PutImage: src: (%d,%d)(%d,%d), dst: (%d,%d)(%d,%d)\n"