From aeb01807263c47f49abaf00031d8505e8ebda82c Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 24 Jan 2005 15:40:21 +0000 Subject: Don't exclude 'RADEONInfoPtr info = ...' declaration even when not building with DRI support (Bugzilla #2370) --- src/radeon_video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/radeon_video.c b/src/radeon_video.c index f21e3af..43b6743 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -1950,8 +1950,8 @@ RADEONCopyData( int w, int bpp ){ -#ifdef XF86DRI RADEONInfoPtr info = RADEONPTR(pScrn); +#ifdef XF86DRI if ( info->directRenderingEnabled && info->DMAForXv ) { @@ -2041,8 +2041,8 @@ RADEONCopyRGB24Data( CARD32 *dptr; CARD8 *sptr; int i,j; -#ifdef XF86DRI RADEONInfoPtr info = RADEONPTR(pScrn); +#ifdef XF86DRI if ( info->directRenderingEnabled && info->DMAForXv ) { @@ -2113,8 +2113,8 @@ RADEONCopyMungedData( int h, int w ){ -#ifdef XF86DRI RADEONInfoPtr info = RADEONPTR(pScrn); +#ifdef XF86DRI if ( info->directRenderingEnabled && info->DMAForXv ) { -- cgit v1.2.3