summaryrefslogtreecommitdiff
path: root/hw/kdrive/ati/ati_draw.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-07-19 11:19:12 +0000
committerEric Anholt <anholt@freebsd.org>2004-07-19 11:19:12 +0000
commitd2e74e419d2c75c5a5b97236d2714730e6f69ee0 (patch)
tree9fb954c1bc91089ed0d09ab0edd1c9803b586956 /hw/kdrive/ati/ati_draw.c
parentcefcb7f123c962c3715b0c46f30430e87c82a017 (diff)
downloadxserver-d2e74e419d2c75c5a5b97236d2714730e6f69ee0.tar.gz
Set the right number of texture coordinates for r200 Render support (still
disabled, needs to be tested).
Diffstat (limited to 'hw/kdrive/ati/ati_draw.c')
-rw-r--r--hw/kdrive/ati/ati_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/ati/ati_draw.c b/hw/kdrive/ati/ati_draw.c
index 48998040d..64d8b1dc7 100644
--- a/hw/kdrive/ati/ati_draw.c
+++ b/hw/kdrive/ati/ati_draw.c
@@ -162,8 +162,8 @@ ATIDrawSetup(ScreenPtr pScreen)
OUT_REG(R200_REG_SE_VTE_CNTL, R200_VTX_XY_FMT);
OUT_REG(R200_REG_SE_VTX_FMT_0, R200_VTX_XY);
OUT_REG(R200_REG_SE_VTX_FMT_1,
- (4 << R200_VTX_TEX0_COMP_CNT_SHIFT) |
- (4 << R200_VTX_TEX1_COMP_CNT_SHIFT));
+ (2 << R200_VTX_TEX0_COMP_CNT_SHIFT) |
+ (2 << R200_VTX_TEX1_COMP_CNT_SHIFT));
OUT_REG(R200_REG_SE_VAP_CNTL, 0);
OUT_REG(R200_REG_RE_AUX_SCISSOR_CNTL, 0);
END_DMA();