From: Wolfgang Bumiller Date: Fri, 25 Jan 2013 14:37:09 +0000 (+0100) Subject: debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named... X-Git-Tag: before-library~223 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=69e29c3ef8709c729116e18691b6f7e6dff86613;p=xonotic%2Fgmqcc.git debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named extparam0 --- diff --git a/ir.c b/ir.c index 897c602..38882ec 100644 --- 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);