diff options
author | Brian Paul <[email protected]> | 2011-09-28 13:16:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-28 13:17:11 -0600 |
commit | 3bb41e7b2d359e02f6a1ad8df6be52d9aea7d296 (patch) | |
tree | b1ecf99314d2c3a50b38e2ed08bd38a39c2aa21c /src | |
parent | 9f220bd1353b3d141d6a0308103ff403d8653e23 (diff) |
st/mesa: include version.h and fix _mesa_override_glsl_version() call
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 5506db6c4e9..e6572c85adf 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -30,6 +30,7 @@ #include "main/context.h" #include "main/macros.h" #include "main/mfeatures.h" +#include "main/version.h" #include "pipe/p_context.h" #include "pipe/p_defines.h" @@ -216,7 +217,7 @@ void st_init_limits(struct st_context *st) c->MaxProgramTexelOffset = screen->get_param(screen, PIPE_CAP_MAX_TEXEL_OFFSET); c->GLSLVersion = 120; - _mesa_override_glsl_version(c); + _mesa_override_glsl_version(st->ctx); c->UniformBooleanTrue = ~0; } } |