summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glsl_parser_extras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index de67e849dfa..8beea55573a 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -130,6 +130,9 @@ _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
_mesa_glsl_error(name_locp, state, "Unknown extension `%s'",
name);
return false;
+ } else {
+ _mesa_glsl_warning(name_locp, state, "Unknown extension `%s'",
+ name);
}
}