diff options
author | Eric Anholt <[email protected]> | 2012-03-08 13:38:31 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-03-15 08:33:54 -0700 |
commit | ac5a5b324335195b5a5ed98775ce442c573e7e1d (patch) | |
tree | 89c8b32d58e110c150b2988316c238d0c5dac2b1 /src/mesa/main | |
parent | 99cd475cc9d3bd54140f84c24b55b9e05d7310a1 (diff) |
glsl: Add support for parsing #version 140.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/getstring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 90e0280552e..2f445aaf97d 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -53,6 +53,8 @@ shading_language_version(struct gl_context *ctx) return (const GLubyte *) "1.20"; case 130: return (const GLubyte *) "1.30"; + case 140: + return (const GLubyte *) "1.40"; default: _mesa_problem(ctx, "Invalid GLSL version in shading_language_version()"); |