summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2007-02-14 20:28:31 +0100
committerPatrice Mandin <pmandin@caramail.com>2007-02-14 20:28:31 +0100
commit83cf4ce6e40ed1841b94f528dc89838e875c720d (patch)
tree847c0670af8a12bd1d336a02bf85c5b507eff254 /src/mesa/drivers
parent99dfca1e7fb32157135511bded07376ebb25acb3 (diff)
nouveau: nv10: there are 8 clipping regions
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c
index 8fbc76c308..d69c6824ed 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_state.c
@@ -619,7 +619,7 @@ static void nv10WindowMoved(nouveauContextPtr nmesa)
NV10_TCL_PRIMITIVE_3D_VIEWPORT_CLIP_HORIZ(0), 2);
OUT_RING_CACHE(((w+x-1) << 16) | x | 0x08000800);
OUT_RING_CACHE(((h+y-1) << 16) | y | 0x08000800);
- for (i=1; i<7; i++) {
+ for (i=1; i<8; i++) {
BEGIN_RING_CACHE(NvSub3D,
NV10_TCL_PRIMITIVE_3D_VIEWPORT_CLIP_HORIZ(i), 1);
OUT_RING_CACHE(0);