Merge pull request #211 from KidawaGH/master

Fixed GetFPS return type
This commit is contained in:
Milan Nikolic 2022-11-05 15:39:36 +01:00 committed by GitHub
commit f4ab5911b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -478,9 +478,9 @@ func SetTargetFPS(fps int32) {
} }
// GetFPS - Returns current FPS // GetFPS - Returns current FPS
func GetFPS() float32 { func GetFPS() int32 {
ret := C.GetFPS() ret := C.GetFPS()
v := (float32)(ret) v := (int32)(ret)
return v return v
} }