Consolidate common case of _mesa_set_program_error() followed by _mesa_error()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Sep 2006 23:08:51 +0000 (23:08 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Sep 2006 23:08:51 +0000 (23:08 +0000)
commita088f160b32a1bd461291fe975b9efd064ff24a5
treebb34049e331bbd1c02eb692ac16cbbfbd428189b
parent1f03339f1c7e71fd1fcc7a119d231325d6085fc9
Consolidate common case of _mesa_set_program_error() followed by _mesa_error()
in new program_error() function.
Add const qualifiers in many places.
Reorder some debug code to prevent referencing free'd memory.
src/mesa/shader/arbprogparse.c