diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-16 15:45:53 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:06:12 +0100 |
commit | 9d2549057ffced996bfaeb8df4901ef57da636c7 (patch) | |
tree | 178d55ef27b0d8cd9ea52fef7a1d09570e463c54 /src/radeon_exa_shared.c | |
parent | 80a45bfc26e20d1d481f13cb15c0720d165a8306 (diff) |
ati: convert to new screen conversion APIs
The compat header takes care of the old server vs new server.
this commit was autogenerated from util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_exa_shared.c')
-rw-r--r-- | src/radeon_exa_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa_shared.c b/src/radeon_exa_shared.c index 7af8a52b..b83eb81c 100644 --- a/src/radeon_exa_shared.c +++ b/src/radeon_exa_shared.c @@ -128,7 +128,7 @@ Bool RADEONCheckBPP(int bpp) PixmapPtr RADEONSolidPixmap(ScreenPtr pScreen, uint32_t solid) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); RADEONInfoPtr info = RADEONPTR(pScrn); PixmapPtr pPix = pScreen->CreatePixmap(pScreen, 1, 1, 32, 0); |