diff options
author | Brian Paul <[email protected]> | 2006-08-30 23:36:52 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-08-30 23:36:52 +0000 |
commit | f6de865e56c953c8d0ddec2468b5283e644675be (patch) | |
tree | 16e5ab29550c53f64164935edcbee5629c8d59a9 /src/mesa/shader/nvvertparse.c | |
parent | a70d56485a2d0f15ee5b660e8931eb8657535e2d (diff) |
s/0/VERT_RESULT_HPOS/
Diffstat (limited to 'src/mesa/shader/nvvertparse.c')
-rw-r--r-- | src/mesa/shader/nvvertparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/nvvertparse.c b/src/mesa/shader/nvvertparse.c index ee6d9f122cb..3840dca2220 100644 --- a/src/mesa/shader/nvvertparse.c +++ b/src/mesa/shader/nvvertparse.c @@ -1364,7 +1364,7 @@ _mesa_parse_nv_vertex_program(GLcontext *ctx, GLenum dstTarget, } else { if (!parseState.isPositionInvariant && - !(parseState.outputsWritten & 1)) { + !(parseState.outputsWritten & (1 << VERT_RESULT_HPOS))) { /* bit 1 = HPOS register */ _mesa_error(ctx, GL_INVALID_OPERATION, "glLoadProgramNV(HPOS not written)"); |