projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0de47
)
debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named...
author
Wolfgang Bumiller <blub@speed.at>
Fri, 25 Jan 2013 14:37:09 +0000
(15:37 +0100)
committer
Wolfgang Bumiller <blub@speed.at>
Fri, 25 Jan 2013 14:37:09 +0000
(15:37 +0100)
ir.c
patch
|
blob
|
history
diff --git
a/ir.c
b/ir.c
index 897c60269835f7969ded3cfabb979c07b23ca078..38882ec85ebf24617fd2fa483427931728cf8d79 100644
(file)
--- a/
ir.c
+++ b/
ir.c
@@
-3113,7
+3113,7
@@
static ir_value* ir_gen_extparam_proto(ir_builder *ir)
ir_value *global;
char name[128];
- snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)
+8
));
+ snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)));
global = ir_value_var(name, store_global, TYPE_VECTOR);
vec_push(ir->extparam_protos, global);