glsl: Require a context in _mesa_glsl_parse_state.
authorChia-I Wu <olv@lunarg.com>
Wed, 8 Sep 2010 10:48:12 +0000 (18:48 +0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Sep 2010 11:08:24 +0000 (04:08 -0700)
commitdc754586ca84741b4df5b72fd235c4134816854c
tree1f52a8f7a1953f7afcd97609d44f9ffd375f40e4
parent7e03e2b2c787657f2abe4bd362e625bd9a971c48
glsl: Require a context in _mesa_glsl_parse_state.

Create a dummy context in the standalone compiler and pass it to
_mesa_glsl_parse_state.
src/glsl/glsl_parser_extras.cpp
src/glsl/main.cpp