Пример #1
0
func GetFramecount(manager *FPSmanager) (int, bool) {
	count := int(C.SDL_getFramerate(manager.cptr()))
	return count, count >= 0
}
Пример #2
0
func GetFramerate(manager *FPSmanager) (int, bool) {
	fps := int(C.SDL_getFramerate(manager.cptr()))
	return fps, fps >= 0
}