aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/test_optpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/test_optpass.cpp')
-rw-r--r--mesalib/src/glsl/test_optpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/test_optpass.cpp b/mesalib/src/glsl/test_optpass.cpp
index ce5df24d9..117b0b006 100644
--- a/mesalib/src/glsl/test_optpass.cpp
+++ b/mesalib/src/glsl/test_optpass.cpp
@@ -217,7 +217,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->API) != 0;
+ state->extensions, ctx) != 0;
if (!state->error) {
_mesa_glsl_lexer_ctor(state, source);