summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/version.c')
-rw-r--r--src/mesa/main/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 2c5bd777877..9df8c11c740 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -617,6 +617,8 @@ _mesa_compute_version(struct gl_context *ctx)
*/
if (_mesa_is_desktop_gl(ctx)) {
switch (ctx->Version) {
+ case 20:
+ /* fall-through, GLSL 1.20 is the minimum we support */
case 21:
ctx->Const.GLSLVersion = 120;
break;