diff options
Diffstat (limited to 'driver/xf86-video-ati/src/radeon_textured_video.c')
-rw-r--r-- | driver/xf86-video-ati/src/radeon_textured_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-ati/src/radeon_textured_video.c b/driver/xf86-video-ati/src/radeon_textured_video.c index ff2bb9f98..48564f829 100644 --- a/driver/xf86-video-ati/src/radeon_textured_video.c +++ b/driver/xf86-video-ati/src/radeon_textured_video.c @@ -811,7 +811,7 @@ static void radeon_unload_bicubic_texture(ScrnInfoPtr pScrn) XF86VideoAdaptorPtr RADEONSetupImageTexturedVideo(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); RADEONInfoPtr info = RADEONPTR(pScrn); RADEONPortPrivPtr pPortPriv; XF86VideoAdaptorPtr adapt; |