glsl: Clear the static values of builtin function profiles at release.
authorEric Anholt <eric@anholt.net>
Mon, 30 Aug 2010 19:20:25 +0000 (12:20 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Aug 2010 20:12:24 +0000 (13:12 -0700)
commit8b3d36d56378355f188dd419e35676b2e4086a73
tree95ac3844024a10b624f73e9ad9eea5b8806e1246
parent33fe364e5aa7de3ce5f46077ff0868dcec4084bb
glsl: Clear the static values of builtin function profiles at release.

When releasing the builtin functions, we were just freeing the memory,
not telling the builtin function loader that we had freed its memory.
I wish I had done ARB_ES2_compatibility so we had regression testing
of this path.  Fixes segfault on changing video options in nexuiz.
src/glsl/builtin_function.cpp
src/glsl/builtins/tools/generate_builtins.py