Merge pull request #190 from Alireza-Ta/fix-type-conversion

fixed GetTime return type.
This commit is contained in:
Milan Nikolic 2022-08-05 14:40:27 +02:00 committed by GitHub
commit 98220fa4f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,9 +445,9 @@ func GetFrameTime() float32 {
} }
// GetTime - Return time in seconds // GetTime - Return time in seconds
func GetTime() float32 { func GetTime() float64 {
ret := C.GetTime() ret := C.GetTime()
v := (float32)(ret) v := (float64)(ret)
return v return v
} }