diff options
author | Brian Paul <[email protected]> | 2008-07-24 14:28:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-24 15:11:11 -0600 |
commit | d8ababdcc2e359b4325b036bf7ae5447498a6521 (patch) | |
tree | 748fbdb18a6be8cba859120d5634e04e49a1cb30 /src/mesa/main/getstring.c | |
parent | 51bfb6aa992043f780a1641e6d53282374526c66 (diff) |
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
Diffstat (limited to 'src/mesa/main/getstring.c')
-rw-r--r-- | src/mesa/main/getstring.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 55fb42096df..58c6c2f49fc 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -57,8 +57,10 @@ _mesa_GetString( GLenum name ) static const char *version_2_0 = "2.0 Mesa " MESA_VERSION_STRING; static const char *version_2_1 = "2.1 Mesa " MESA_VERSION_STRING; -#if FEATURE_ARB_shading_language_100 - static const char *sl_version_110 = "1.10 Mesa " MESA_VERSION_STRING; +#if FEATURE_ARB_shading_language_120_foo /* support not complete! */ + static const char *sl_version = "1.20"; +#elif FEATURE_ARB_shading_language_100 + static const char *sl_version = "1.10"; #endif if (!ctx) @@ -151,7 +153,7 @@ _mesa_GetString( GLenum name ) #if FEATURE_ARB_shading_language_100 case GL_SHADING_LANGUAGE_VERSION_ARB: if (ctx->Extensions.ARB_shading_language_100) - return (const GLubyte *) sl_version_110; + return (const GLubyte *) sl_version; goto error; #endif #if FEATURE_NV_fragment_program || FEATURE_ARB_fragment_program || \ |