diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-23 08:49:45 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 08:49:45 +0100 |
commit | 84c3900b5179a8d2cc5f925e94ed5b2bbdee1ad9 (patch) | |
tree | 077e59ab473e2a3a6e388ad5d40ade4548b26e4c /src/radeon_driver.c | |
parent | 3fb694b308ebadd1b849836059b6b56bb19385f7 (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.c | 4 |
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 |