diff options
author | Michal Krol <[email protected]> | 2009-06-22 09:14:14 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-07 10:11:48 +0200 |
commit | 2dad8ed9d68289ba25a4023da12fc5ddf6a621dd (patch) | |
tree | 28a141fb7ae18ce6402c0079d9391aecaeb5b118 /src/glsl/pp/sl_pp_define.c | |
parent | 6a11d4150cfcdd646c17f8b365b5481c2c583208 (diff) |
glsl: Centralise sl_pp_macro constructor.
Diffstat (limited to 'src/glsl/pp/sl_pp_define.c')
-rw-r--r-- | src/glsl/pp/sl_pp_define.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glsl/pp/sl_pp_define.c b/src/glsl/pp/sl_pp_define.c index 39d14350641..e8a23fedcd8 100644 --- a/src/glsl/pp/sl_pp_define.c +++ b/src/glsl/pp/sl_pp_define.c @@ -112,12 +112,6 @@ sl_pp_process_define(struct sl_pp_context *context, unsigned int body_len; unsigned int j; - macro->name = -1; - macro->num_args = -1; - macro->arg = NULL; - macro->body = NULL; - macro->next = NULL; - if (first < last && input[first].token == SL_PP_IDENTIFIER) { macro->name = input[first].data.identifier; first++; |