parent
31e01987e5
commit
2ae77a8c82
2 changed files with 19 additions and 24 deletions
@ -1,16 +0,0 @@ |
||||
package sdl |
||||
|
||||
// Frames to cache for FPS calculation.
|
||||
const ( |
||||
maxSamples = 100 |
||||
TargetFPS = 1000 / 60 |
||||
) |
||||
|
||||
var ( |
||||
fpsCurrentTicks uint32 // current time we get sdl.GetTicks()
|
||||
fpsLastTime uint32 // last time we printed the fpsCurrentTicks
|
||||
fpsCurrent int |
||||
fpsFrames int |
||||
fpsSkipped uint32 |
||||
fpsInterval uint32 = 1000 |
||||
) |
Loading…
Reference in new issue