diff options
-rw-r--r-- | src/mesa/main/version.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 58e68b47721..2c5bd777877 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -617,6 +617,9 @@ _mesa_compute_version(struct gl_context *ctx) */ if (_mesa_is_desktop_gl(ctx)) { switch (ctx->Version) { + case 21: + ctx->Const.GLSLVersion = 120; + break; case 30: ctx->Const.GLSLVersion = 130; break; |