diff options
author | Patrice Mandin <patrice@manoir.racoon.city> | 2007-01-15 18:58:24 +0100 |
---|---|---|
committer | Patrice Mandin <patrice@manoir.racoon.city> | 2007-01-15 18:58:24 +0100 |
commit | 7520478eb055350702d09e533db02258187d8c74 (patch) | |
tree | 327265b64e2332eda51a93571c3debf87209e630 /src/mesa/drivers | |
parent | 4c7d36b688866129a17c3f59aa9374b2f9a874de (diff) |
nouveau:nv10: fix setting clip region
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c index dbd8bf306e..0e912e73ff 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_state.c +++ b/src/mesa/drivers/dri/nouveau/nv10_state.c @@ -618,8 +618,10 @@ static void nv10WindowMoved(nouveauContextPtr nmesa) OUT_RING_CACHE(((h+y) << 16) | y | 0x800); for (i=1; i<7; i++) { BEGIN_RING_CACHE(NvSub3D, - NV10_TCL_PRIMITIVE_3D_VIEWPORT_CLIP_HORIZ(i), 2); + NV10_TCL_PRIMITIVE_3D_VIEWPORT_CLIP_HORIZ(i), 1); OUT_RING_CACHE(0); + BEGIN_RING_CACHE(NvSub3D, + NV10_TCL_PRIMITIVE_3D_VIEWPORT_CLIP_VERT(i), 1); OUT_RING_CACHE(0); } |