mesa: Support glGetString(GL_SHADING_LANGUAGE_VERSION) for >= 1.40.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jul 2012 22:54:25 +0000 (15:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 31 Jul 2012 17:52:54 +0000 (10:52 -0700)
commitd84b3a5a3c855e3f2ffc83bbbda9d615b04c0ad2
tree9212449dc2fd2370e2cdcdbf6fcf641d53817e04
parent591594ea1e5e9e5865b10b786509b9c3cec042a7
mesa: Support glGetString(GL_SHADING_LANGUAGE_VERSION) for >= 1.40.

This will need to get refactored when we add support for core profiles
or forward-compatible contexts, but we may as well have it in the
meantime.  This allows us to override the GLSL version and experiment.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/getstring.c