Initial integration
This commit is contained in:
parent
f36533cbd8
commit
bbd970b7ba
|
|
@ -1,3 +1,8 @@
|
|||
raylib's for ClassicLauncher fork
|
||||
--------
|
||||
This repository is intended for the [Classic Launcher](https://github.com/marconaveni/ClassicLauncher) and there is no guarantee that it will work with other applications, so I recommend that you obtain it from the [main repository](https://github.com/raysan5/raylib).
|
||||
|
||||
|
||||
<img align="left" style="width:260px" src="https://github.com/raysan5/raylib/blob/master/logo/raylib_logo_animation.gif" width="288px">
|
||||
|
||||
**raylib is a simple and easy-to-use library to enjoy videogames programming.**
|
||||
|
|
|
|||
|
|
@ -2126,6 +2126,7 @@ int InitPlatform(void)
|
|||
//----------------------------------------------------------------------------
|
||||
// Get base time from window initialization
|
||||
CORE.Time.base = (double)SDL_GetPerformanceCounter()/(double)SDL_GetPerformanceFrequency();
|
||||
CORE.Time.previous = GetTime();
|
||||
|
||||
#if defined(_WIN32) && SUPPORT_WINMM_HIGHRES_TIMER && !SUPPORT_BUSY_WAIT_LOOP
|
||||
SDL_SetHint(SDL_HINT_TIMER_RESOLUTION, "1"); // SDL equivalent of timeBeginPeriod() and timeEndPeriod()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user