summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r--src/glsl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index 30f11a5a440..2323a204da1 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -130,7 +130,7 @@ compile_shader(struct gl_shader *shader)
const char *source = shader->Source;
state->error = preprocess(state, &source, &state->info_log,
- state->extensions);
+ state->extensions, API_OPENGL);
if (!state->error) {
_mesa_glsl_lexer_ctor(state, source);