summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/pp.c')
-rw-r--r--src/glsl/glcpp/pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glcpp/pp.c b/src/glsl/glcpp/pp.c
index 637a58f9cc3..fc645f7a195 100644
--- a/src/glsl/glcpp/pp.c
+++ b/src/glsl/glcpp/pp.c
@@ -151,7 +151,7 @@ glcpp_preprocess(void *ralloc_ctx, const char **shader, char **info_log,
if (parser->skip_stack)
glcpp_error (&parser->skip_stack->loc, parser, "Unterminated #if\n");
- glcpp_parser_resolve_version(parser);
+ glcpp_parser_resolve_implicit_version(parser);
ralloc_strcat(info_log, parser->info_log);