Fixed GetFPS return type
GetFPS function now returns an int32 to mirror C version of raylib (https://github.com/raysan5/raylib/blob/master/src/rcore.c)
This commit is contained in:
parent
892ce4892c
commit
d8d13e238d
1 changed files with 2 additions and 2 deletions
|
@ -478,9 +478,9 @@ func SetTargetFPS(fps int32) {
|
|||
}
|
||||
|
||||
// GetFPS - Returns current FPS
|
||||
func GetFPS() float32 {
|
||||
func GetFPS() int32 {
|
||||
ret := C.GetFPS()
|
||||
v := (float32)(ret)
|
||||
v := (int32)(ret)
|
||||
return v
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue