aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/context.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-29 08:21:31 +0200
committermarha <marha@users.sourceforge.net>2011-09-29 08:21:31 +0200
commitbee9191042416cbfb848615189ca1e2a0069f022 (patch)
tree8f7b2d550ca61d7a6ff10d1fb513fff371268ee0 /mesalib/src/mesa/main/context.c
parent18a8f9f6839dfd899814a76a971e720c1e622236 (diff)
downloadvcxsrv-bee9191042416cbfb848615189ca1e2a0069f022.tar.gz
vcxsrv-bee9191042416cbfb848615189ca1e2a0069f022.tar.bz2
vcxsrv-bee9191042416cbfb848615189ca1e2a0069f022.zip
xwininfo libXft mesa git update 29 sep 2011
Diffstat (limited to 'mesalib/src/mesa/main/context.c')
-rw-r--r--mesalib/src/mesa/main/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/context.c b/mesalib/src/mesa/main/context.c
index b20063c33..2532c47de 100644
--- a/mesalib/src/mesa/main/context.c
+++ b/mesalib/src/mesa/main/context.c
@@ -627,6 +627,7 @@ _mesa_init_constants(struct gl_context *ctx)
/* Shading language version */
if (ctx->API == API_OPENGL) {
ctx->Const.GLSLVersion = 120;
+ _mesa_override_glsl_version(ctx);
}
else if (ctx->API == API_OPENGLES2) {
ctx->Const.GLSLVersion = 100;