summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
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 1625e4c501..9401e3dcc2 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;