From: Patrice Mandin Date: Wed, 14 Feb 2007 19:28:31 +0000 (+0100) Subject: nouveau: nv10: there are 8 clipping regions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83cf4ce6e40ed1841b94f528dc89838e875c720d;p=mesa.git nouveau: nv10: there are 8 clipping regions --- 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);