projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f220bd
)
st/mesa: include version.h and fix _mesa_override_glsl_version() call
author
Brian Paul
<brianp@vmware.com>
Wed, 28 Sep 2011 19:16:25 +0000
(13:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 28 Sep 2011 19:17:11 +0000
(13:17 -0600)
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 5506db6c4e9b0a8f57d6803703a55a99da812a72..e6572c85adff9d73c62a15f82b82652a776e9773 100644
(file)
--- 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;
}
}