diff options
author | Matthieu Castet <[email protected]> | 2007-09-14 22:07:34 +0200 |
---|---|---|
committer | Matthieu Castet <[email protected]> | 2007-09-14 22:07:34 +0200 |
commit | 63147344e422aa2b00b6b22d76fdea801c38b2ea (patch) | |
tree | 8b952305b38ca49978d8d0fd8e4f0d5c63434856 /src/mesa/drivers/dri/nouveau/nv10_state.c | |
parent | bb4a9b2dcedc449f8e60f7d136b086d011ed3323 (diff) |
nouveau : fix NV10_TCL_PRIMITIVE_3D_CLIP_PLANE
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_state.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c index 154ba3cce12..2ba5d79684a 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_state.c +++ b/src/mesa/drivers/dri/nouveau/nv10_state.c @@ -200,7 +200,7 @@ static void nv10ClearStencil(GLcontext *ctx, GLint s) static void nv10ClipPlane(GLcontext *ctx, GLenum plane, const GLfloat *equation) { nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx); - BEGIN_RING_CACHE(NvSub3D, NV10_TCL_PRIMITIVE_3D_CLIP_PLANE_A(plane), 4); + BEGIN_RING_CACHE(NvSub3D, NV10_TCL_PRIMITIVE_3D_CLIP_PLANE_A(plane - GL_CLIP_PLANE0), 4); OUT_RING_CACHEf(equation[0]); OUT_RING_CACHEf(equation[1]); OUT_RING_CACHEf(equation[2]); |