summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_dict.c')
-rw-r--r--src/glsl/pp/sl_pp_dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_dict.c b/src/glsl/pp/sl_pp_dict.c
index 0e1fa368577..82fb9127b50 100644
--- a/src/glsl/pp/sl_pp_dict.c
+++ b/src/glsl/pp/sl_pp_dict.c
@@ -56,7 +56,7 @@ sl_pp_dict_init(struct sl_pp_context *context)
ADD_NAME_STR(context, ___LINE__, "__LINE__");
ADD_NAME_STR(context, ___FILE__, "__FILE__");
- ADD_NAME(context, __VERSION__);
+ ADD_NAME_STR(context, ___VERSION__, "__VERSION__");
ADD_NAME(context, optimize);
ADD_NAME(context, debug);