summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-03 03:40:49 +0200
committerMarek Olšák <[email protected]>2014-08-11 21:53:57 +0200
commitd9a6f4360a617fccfb3987f9ec276012a9a14b75 (patch)
treec8da58890a4aa77a63a21643083aec115fea2575 /src/mesa/drivers/dri/i915
parentc6cbde5008e27cccb06411146bc673835991ae91 (diff)
mesa: make _mesa_override_glsl_version context-independent
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_extensions.c b/src/mesa/drivers/dri/i915/intel_extensions.c
index de716a7829c..ab7820f1232 100644
--- a/src/mesa/drivers/dri/i915/intel_extensions.c
+++ b/src/mesa/drivers/dri/i915/intel_extensions.c
@@ -78,7 +78,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.OES_draw_texture = true;
ctx->Const.GLSLVersion = 120;
- _mesa_override_glsl_version(ctx);
+ _mesa_override_glsl_version(&ctx->Const);
if (intel->gen >= 3) {
ctx->Extensions.ARB_ES2_compatibility = true;