projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2911551
)
fix scissor
author
Ben Skeggs
<darktama@iinet.net.au>
Sat, 25 Nov 2006 06:02:10 +0000
(06:02 +0000)
committer
Ben Skeggs
<darktama@iinet.net.au>
Sat, 25 Nov 2006 06:02:10 +0000
(06:02 +0000)
src/mesa/drivers/dri/nouveau/nv30_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nv30_state.c
b/src/mesa/drivers/dri/nouveau/nv30_state.c
index
11795a7
..
851641c
100644
(file)
--- 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 */