summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-04 15:27:08 +0200
committerMichal Krol <[email protected]>2009-09-07 10:12:10 +0200
commita64ba93aab6de7ee2ceb70f39cf2dbe794940c97 (patch)
treed576bc47c543fa6506cb49d506283b4e3e51ecf5 /src/glsl/pp/sl_pp_context.c
parent2d2d6384448baae3c04eced3373d96907def4e13 (diff)
glsl: Handle file numbering.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.c')
-rw-r--r--src/glsl/pp/sl_pp_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.c b/src/glsl/pp/sl_pp_context.c
index 6aaf76828cc..2fca3791a26 100644
--- a/src/glsl/pp/sl_pp_context.c
+++ b/src/glsl/pp/sl_pp_context.c
@@ -38,6 +38,7 @@ sl_pp_context_init(struct sl_pp_context *context)
context->if_value = 1;
memset(context->error_msg, 0, sizeof(context->error_msg));
context->line = 1;
+ context->file = 0;
}
void