mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- fixed: initialization of local vector variables did not properly allocate registers if the initializer was a subelement of another local vector variable.
This commit is contained in:
parent
acf66d9f8f
commit
42b1432b64
1 changed files with 1 additions and 1 deletions
|
@ -10154,7 +10154,7 @@ ExpEmit FxLocalVariableDeclaration::Emit(VMFunctionBuilder *build)
|
|||
}
|
||||
emitval.Free(build);
|
||||
}
|
||||
else if (Init->ExprType != EFX_LocalVariable)
|
||||
else if (!emitval.Fixed)
|
||||
{
|
||||
// take over the register that got allocated while emitting the Init expression.
|
||||
RegNum = emitval.RegNum;
|
||||
|
|
Loading…
Reference in a new issue