mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
don't create defs for the components of vector or quaternion defs
This commit is contained in:
parent
8f4308c86a
commit
19980964d7
1 changed files with 0 additions and 6 deletions
|
@ -259,12 +259,6 @@ ReuseConstant (expr_t *expr, def_t *def)
|
|||
} else {
|
||||
cn = new_def (type, ".imm", pr.scope);
|
||||
cn->ofs = new_location (type, pr.near_data);
|
||||
if (type == &type_vector || type == &type_quaternion) {
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 3 + (type == &type_quaternion); i++)
|
||||
new_def (&type_float, ".imm", pr.scope);
|
||||
}
|
||||
}
|
||||
cn->initialized = cn->constant = 1;
|
||||
// copy the immediate to the global area
|
||||
|
|
Loading…
Reference in a new issue