summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index f7f9c095..2a6f150e 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -326,6 +326,7 @@ typedef enum {
CHIP_FAMILY_RS780,
CHIP_FAMILY_RV770,
CHIP_FAMILY_RV730,
+ CHIP_FAMILY_RV710,
CHIP_FAMILY_LAST
} RADEONChipFamily;
@@ -1329,8 +1330,9 @@ do { \
case EXA_ENGINEMODE_3D: \
break; \
} \
- if (flush && info->directRenderingEnabled) { \
- RADEONCPFlushIndirect(pScrn, 1); \
+ if (flush) { \
+ if (info->directRenderingEnabled) \
+ RADEONCPFlushIndirect(pScrn, 1); \
RADEONInit3DEngine(pScrn); \
} \
info->accel_state->engineMode = EXA_ENGINEMODE_3D; \