summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-11-25 06:02:10 +0000
committerBen Skeggs <darktama@iinet.net.au>2006-11-25 06:02:10 +0000
commit902b26a0d670ca7d2f37103d1c4de242694ff337 (patch)
tree15999f127d2e7da2db3f970f46c70b2f972ab296 /src
parent291155172733b08238d77440ae935f82bff70bf9 (diff)
fix scissor
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index 11795a75c2..851641c0c9 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -516,7 +516,7 @@ static void nv30Scissor(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h)
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);
BEGIN_RING_CACHE(NvSub3D, NV30_TCL_PRIMITIVE_3D_SCISSOR_WIDTH_XPOS, 2);
OUT_RING_CACHE((w << 16) | x);
- OUT_RING_CACHE((y << 16) | y);
+ OUT_RING_CACHE((h << 16) | y);
}
/** Select flat or smooth shading */