update some assertions

This commit is contained in:
Brian Paul
2005-11-12 17:56:18 +00:00
parent de99760bf3
commit bed8363aa6
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}