mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- let's add a 'float' cast, too, just in case. It still will cast to double, because single precision floats only can exist as memory values.
This commit is contained in:
parent
398433b5e6
commit
6414fd301b
1 changed files with 2 additions and 0 deletions
|
@ -6086,6 +6086,7 @@ FxExpression *FxFunctionCall::Resolve(FCompileContext& ctx)
|
|||
case NAME_Bool:
|
||||
case NAME_Int:
|
||||
case NAME_uInt:
|
||||
case NAME_Float:
|
||||
case NAME_Double:
|
||||
case NAME_Name:
|
||||
case NAME_Color:
|
||||
|
@ -6097,6 +6098,7 @@ FxExpression *FxFunctionCall::Resolve(FCompileContext& ctx)
|
|||
MethodName == NAME_Bool ? TypeBool :
|
||||
MethodName == NAME_Int ? TypeSInt32 :
|
||||
MethodName == NAME_uInt ? TypeUInt32 :
|
||||
MethodName == NAME_Float ? TypeFloat64 :
|
||||
MethodName == NAME_Double ? TypeFloat64 :
|
||||
MethodName == NAME_Name ? TypeName :
|
||||
MethodName == NAME_Color ? TypeColor :
|
||||
|
|
Loading…
Reference in a new issue