mesa: Remove FEATURE_ARB_shading_language_120 macro.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Oct 2010 20:52:16 +0000 (13:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Oct 2010 22:07:47 +0000 (15:07 -0700)
Everything should be able to support 1.20 at this point.

src/mesa/main/context.c
src/mesa/main/mfeatures.h

index 1625e4c50198a6da101677af6299ae89edc13684..9401e3dcc2bb687c4af306d3d52baf45c4ea9197 100644 (file)
@@ -592,11 +592,7 @@ _mesa_init_constants(struct gl_context *ctx)
 
    /* Shading language version */
    if (ctx->API == API_OPENGL) {
-#if FEATURE_ARB_shading_language_120
       ctx->Const.GLSLVersion = 120;
-#else
-      ctx->Const.GLSLVersion = 110;
-#endif
    }
    else if (ctx->API == API_OPENGLES2) {
       ctx->Const.GLSLVersion = 100;
index 9b9b6d0420b1a417e00294a9835aa9ba595869f5..5afd65d9766a45f3e2dd40ce88cfac5a2c2c4f0c 100644 (file)
 #define FEATURE_ARB_fragment_shader       1
 #define FEATURE_ARB_shader_objects        (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader)
 #define FEATURE_ARB_shading_language_100  FEATURE_ARB_shader_objects
-#define FEATURE_ARB_shading_language_120  FEATURE_ARB_shader_objects
 #define FEATURE_ARB_geometry_shader4      FEATURE_ARB_shader_objects
 
 #define FEATURE_ARB_framebuffer_object    (FEATURE_GL && FEATURE_EXT_framebuffer_object)