summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_error.c')
-rw-r--r--src/glsl/pp/sl_pp_error.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/glsl/pp/sl_pp_error.c b/src/glsl/pp/sl_pp_error.c
index d42568d23d..e591f4beef 100644
--- a/src/glsl/pp/sl_pp_error.c
+++ b/src/glsl/pp/sl_pp_error.c
@@ -239,8 +239,12 @@ sl_pp_process_error(struct sl_pp_context *context,
s = sl_pp_context_cstr(context, input[i].data.identifier);
break;
- case SL_PP_NUMBER:
- s = sl_pp_context_cstr(context, input[i].data.number);
+ case SL_PP_UINT:
+ s = sl_pp_context_cstr(context, input[i].data._uint);
+ break;
+
+ case SL_PP_FLOAT:
+ s = sl_pp_context_cstr(context, input[i].data._float);
break;
case SL_PP_OTHER: