summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2005-01-24 15:40:21 +0000
committerEgbert Eich <eich@suse.de>2005-01-24 15:40:21 +0000
commitaeb01807263c47f49abaf00031d8505e8ebda82c (patch)
treecfa646f06b5918e2acd1d4398846802ecd2cb9e4
parentc6c30cfa354eb456638f10771a7cb02271696af2 (diff)
Don't exclude 'RADEONInfoPtr info = ...' declaration even when not building
with DRI support (Bugzilla #2370)
-rw-r--r--src/radeon_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index f21e3af5..43b6743b 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 )
{