summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-10-20 13:52:16 -0700
committerKenneth Graunke <[email protected]>2010-10-20 15:07:47 -0700
commitb970da4d24ce67d5dd0f099bd49bb90e6d82e61e (patch)
tree531475d3a7762a03dc15939a2320e0f75663072a /src/mesa/main/context.c
parenta75da2c0e85eb6b8279ec895c3f74cc4aefc0257 (diff)
mesa: Remove FEATURE_ARB_shading_language_120 macro.
Everything should be able to support 1.20 at this point.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 1625e4c5019..9401e3dcc2b 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -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;