Commit 3bb41e7b authored by Brian Paul's avatar Brian Paul

st/mesa: include version.h and fix _mesa_override_glsl_version() call

parent 9f220bd1
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment