summaryrefslogtreecommitdiffstats
path: root/src/glsl/apps/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/apps/process.c')
-rw-r--r--src/glsl/apps/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c
index 28b415c3ffd..e20b68b1a9a 100644
--- a/src/glsl/apps/process.c
+++ b/src/glsl/apps/process.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"
@@ -235,11 +236,11 @@ main(int argc,
break;
case SL_PP_MODASSIGN:
- fprintf(out, "%= ");
+ fprintf(out, "%%= ");
break;
case SL_PP_MODULO:
- fprintf(out, "% ");
+ fprintf(out, "%% ");
break;
case SL_PP_LSHIFTASSIGN: