glsl: Avoid variable length arrays.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Jul 2013 08:27:22 +0000 (09:27 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Jul 2013 08:28:22 +0000 (09:28 +0100)
commit649ef4da30e23f077087326a6a9116759f1d9dd3
tree456c29be68d2c737797813896d5c438e29b89cd0
parent1b0d6aef03161eff4c9933548e964fec1258ea44
glsl: Avoid variable length arrays.

They are a non-standard GCC extension that's not widely supported by
other C/C++ compilers.

Use a dynamic array instead.

Trivial. Should fix the MSVC build.
src/glsl/glsl_symbol_table.cpp