summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/pp.c')
-rw-r--r--src/compiler/glsl/glcpp/pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glcpp/pp.c b/src/compiler/glsl/glcpp/pp.c
index b5912799371..c526f37719c 100644
--- a/src/compiler/glsl/glcpp/pp.c
+++ b/src/compiler/glsl/glcpp/pp.c
@@ -218,7 +218,7 @@ glcpp_preprocess(void *ralloc_ctx, const char **shader, char **info_log,
{
int errors;
glcpp_parser_t *parser =
- glcpp_parser_create(extensions, state, gl_ctx->API);
+ glcpp_parser_create(&gl_ctx->Extensions, extensions, state, gl_ctx->API);
if (! gl_ctx->Const.DisableGLSLLineContinuations)
*shader = remove_line_continuations(parser, *shader);