summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-23 08:49:45 +0100
committerDave Airlie <airlied@redhat.com>2012-05-23 08:49:45 +0100
commit84c3900b5179a8d2cc5f925e94ed5b2bbdee1ad9 (patch)
tree077e59ab473e2a3a6e388ad5d40ade4548b26e4c /src/radeon_driver.c
parent3fb694b308ebadd1b849836059b6b56bb19385f7 (diff)
radeon/xaa: drop scrnIndex parameter to some functions
This isn't needed, and makes api changes later easier. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 077f9a46..5681f02d 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3636,14 +3636,14 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
info->dri->textureSize = -1;
}
}
- if (!RADEONSetupMemXAA_DRI(scrnIndex, pScreen))
+ if (!RADEONSetupMemXAA_DRI(pScreen))
return FALSE;
pScrn->fbOffset = info->dri->frontOffset;
}
#endif
#ifdef USE_XAA
- if (!info->useEXA && !hasDRI && !RADEONSetupMemXAA(scrnIndex, pScreen))
+ if (!info->useEXA && !hasDRI && !RADEONSetupMemXAA(pScreen))
return FALSE;
#endif