nouveau: nv10: there are 8 clipping regions
authorPatrice Mandin <pmandin@caramail.com>
Wed, 14 Feb 2007 19:28:31 +0000 (20:28 +0100)
committerPatrice Mandin <pmandin@caramail.com>
Wed, 14 Feb 2007 19:28:31 +0000 (20:28 +0100)
src/mesa/drivers/dri/nouveau/nv10_state.c

index 8fbc76c308fbd78a9deaa73d46f70249fe0becc1..d69c6824ed587085fd939345f741b8d3a0916b80 100644 (file)
@@ -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);