예제 #1
0
파일: sdl.go 프로젝트: genbattle/Go2D
func GetTicks() uint32 {
	return uint32(C.SDL_GetTicks())
}
예제 #2
0
파일: sdl.go 프로젝트: pakohan/Go-SDL
// Gets the number of milliseconds since the SDL library initialization.
func GetTicks() uint32 {
	GlobalMutex.Lock()
	t := uint32(C.SDL_GetTicks())
	GlobalMutex.Unlock()
	return t
}