diff options
author | Alex Deucher <alex@samba.(none)> | 2008-01-16 17:52:06 -0500 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2008-01-16 17:52:06 -0500 |
commit | 85bf3439fe2579aec48f5cd8d65a9d51b1ae8535 (patch) | |
tree | 0aa8212925e4efae46f7f2710bcdcec8c52f102e /src | |
parent | dbb2ca471dfbff245b30c5055871dee0dc0e3d15 (diff) |
R300: only init3d on r3xx
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_commonfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c index 23a849b..53bbce9 100644 --- a/src/radeon_commonfuncs.c +++ b/src/radeon_commonfuncs.c @@ -57,7 +57,7 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn) info->texW[0] = info->texH[0] = info->texW[1] = info->texH[1] = 1; - if (info->ChipFamily >= CHIP_FAMILY_R300) { + if (IS_R300_VARIANT) { BEGIN_ACCEL(3); OUT_ACCEL_REG(R300_RB3D_DSTCACHE_CTLSTAT, 0xA); OUT_ACCEL_REG(R300_RB3D_ZCACHE_CTLSTAT, 0x3); |