Browse Source

fix scissor

tags/pre-merge-glsl-compiler-1
Ben Skeggs 19 years ago
parent
commit
902b26a0d6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/nouveau/nv30_state.c

+ 1
- 1
src/mesa/drivers/dri/nouveau/nv30_state.c View File

@@ -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 */

Loading…
Cancel
Save