Disallow passing NULL for state to _mesa_glsl_error
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Mar 2010 20:21:19 +0000 (13:21 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Mar 2010 20:21:19 +0000 (13:21 -0700)
commit71d0bbfcb2853f37b580ec7b705e55bb0eb426fa
tree7c38957675404fa622729ac8f2549e96bf62c3fb
parentf3f111eac45162e9634208cd7305981d8393328d
Disallow passing NULL for state to _mesa_glsl_error

The two places that were still passing NULL had a state pointer to
pass.  Not passing it in these places prevented termination of
compilation of erroneous programs.
ast_to_hir.cpp
glsl_parser_extras.cpp