diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2014-11-26 13:16:38 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2014-12-09 11:40:00 +0100 |
commit | 6cc72511850961eba408a44f648c7067b6e68594 (patch) | |
tree | 4bb25075f8591daf995600885f77f561f79e99bc /src/mesa | |
parent | 426a50e2089b12d33f5c075aa5622f64076914a3 (diff) |
main: return two minor digits for ES shading language version
For OpenGL ES 3.0 spec, the minor number for SHADING_LANGUAGE_VERSION is always
two digits, matching the OpenGL ES Shading Language Specification release
number. For example, this query might return the string "3.00".
This patch fixes the following dEQP test:
dEQP-GLES3.functional.state_query.string.shading_language_version
No piglit regression observed.
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/getstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index f9d13a7253a..1b2c7f054f6 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -74,7 +74,7 @@ shading_language_version(struct gl_context *ctx) case API_OPENGLES2: return (ctx->Version < 30) ? (const GLubyte *) "OpenGL ES GLSL ES 1.0.16" - : (const GLubyte *) "OpenGL ES GLSL ES 3.0"; + : (const GLubyte *) "OpenGL ES GLSL ES 3.00"; case API_OPENGLES: /* fall-through */ |