summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/test_optpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/test_optpass.cpp')
-rw-r--r--src/compiler/glsl/test_optpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/test_optpass.cpp b/src/compiler/glsl/test_optpass.cpp
index f19d7e6e6d5..852af1919bc 100644
--- a/src/compiler/glsl/test_optpass.cpp
+++ b/src/compiler/glsl/test_optpass.cpp
@@ -220,7 +220,7 @@ int test_optpass(int argc, char **argv)
shader->Source = input.c_str();
const char *source = shader->Source;
state->error = glcpp_preprocess(state, &source, &state->info_log,
- state->extensions, ctx) != 0;
+ NULL, NULL, ctx) != 0;
if (!state->error) {
_mesa_glsl_lexer_ctor(state, source);