diff options
-rw-r--r-- | src/radeon_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 25165905..f18ad993 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -224,8 +224,7 @@ radeonShadowWindow(ScreenPtr screen, CARD32 row, CARD32 offset, int mode, stride = (pScrn->displayWidth * pScrn->bitsPerPixel) / 8; *size = stride; - return ((uint8_t *)info->FB + pScrn->fbOffset + - row * stride + offset); + return ((uint8_t *)info->FB + row * stride + offset); } static Bool RADEONCreateScreenResources (ScreenPtr pScreen) |