summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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 )
{