kripken/emscripten — pull request #866 by michaeljbishop (2013-02-21 21:06:58+00:00)
Title: Add support for querying client attribute state through `glGet*`.

In this commit, any variables set with `glEnableClientState` can be accessed through the `glGet*` calls.

All the `glGet*` calls will first see if the attribute passed in is an attribute recognized by `glEnableClientState`
and if so, will retrieve that from `GL.immediate.enabledClientAttributes`.
Otherwise, it will call into WebGL for the value of the attribute.
Modified test included.