diff options
author | Marek Olšák <[email protected]> | 2014-08-03 03:40:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-08-11 21:53:57 +0200 |
commit | d9a6f4360a617fccfb3987f9ec276012a9a14b75 (patch) | |
tree | c8da58890a4aa77a63a21643083aec115fea2575 /src/mesa/state_tracker | |
parent | c6cbde5008e27cccb06411146bc673835991ae91 (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/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 60aa8ccec0b..f04ff4c3dec 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -617,7 +617,7 @@ void st_init_extensions(struct st_context *st) if (glsl_feature_level >= 330) ctx->Const.GLSLVersion = 330; - _mesa_override_glsl_version(st->ctx); + _mesa_override_glsl_version(&st->ctx->Const); if (st->options.force_glsl_version > 0 && st->options.force_glsl_version <= ctx->Const.GLSLVersion) { |