summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2007-02-14 20:28:31 +0100
committerPatrice Mandin <[email protected]>2007-02-14 20:28:31 +0100
commit83cf4ce6e40ed1841b94f528dc89838e875c720d (patch)
tree847c0670af8a12bd1d336a02bf85c5b507eff254 /src/mesa
parent99dfca1e7fb32157135511bded07376ebb25acb3 (diff)
nouveau: nv10: there are 8 clipping regions
Diffstat (limited to 'src/mesa')
-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 8fbc76c308f..d69c6824ed5 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);