mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 15:32:57 +00:00
- Fixed: FxCompareEq::Emit()'s output must be in an integer register.
SVN r3910 (scripting)
This commit is contained in:
parent
83480fd7f3
commit
ac251cfe80
1 changed files with 1 additions and 1 deletions
|
@ -1742,7 +1742,7 @@ ExpEmit FxCompareEq::Emit(VMFunctionBuilder *build)
|
|||
}
|
||||
assert(!op1.Konst);
|
||||
|
||||
ExpEmit to(build, op1.RegType);
|
||||
ExpEmit to(build, REGT_INT);
|
||||
|
||||
instr = op1.RegType == REGT_INT ? OP_EQ_R :
|
||||
op1.RegType == REGT_FLOAT ? OP_EQF_R :
|
||||
|
|
Loading…
Reference in a new issue