glsl/builtins: Set the API in the fake context.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Sep 2010 23:03:33 +0000 (16:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Sep 2010 00:38:42 +0000 (17:38 -0700)
commit7fc882643ce1c57fb8f60d8c5edd761eff404749
treeffbdf3ee78380fd31eadb4daed256d90e06375c9
parentf69a6647fbd5e7cf4406fcc877ff78b507344073
glsl/builtins: Set the API in the fake context.

Otherwise it gets used uninitialized.
src/glsl/builtin_function.cpp
src/glsl/builtins/tools/generate_builtins.py