diff options
author | Brian Paul <[email protected]> | 2005-11-12 17:56:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-12 17:56:18 +0000 |
commit | bed8363aa6ab9f3dbd8052acc8c12d3de14f1399 (patch) | |
tree | f5a7f9961456bad06b28db5b34413f7e73b6291f /src/mesa/shader/nvfragparse.c | |
parent | de99760bf3511d05185799c4fb4347f9e5f420f4 (diff) |
update some assertions
Diffstat (limited to 'src/mesa/shader/nvfragparse.c')
-rw-r--r-- | src/mesa/shader/nvfragparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c index 6a8d250d7eb..52b36758324 100644 --- a/src/mesa/shader/nvfragparse.c +++ b/src/mesa/shader/nvfragparse.c @@ -1589,7 +1589,7 @@ PrintSrcReg(const struct fragment_program *program, _mesa_printf("{%g, %g, %g, %g}", v[0], v[1], v[2], v[3]); } else { - ASSERT(program->Parameters->Parameters[src->Index].Type + ASSERT(program->Base.Parameters->Parameters[src->Index].Type == PROGRAM_NAMED_PARAM); _mesa_printf("%s", program->Base.Parameters->Parameters[src->Index].Name); } |