diff --git a/README.md b/README.md index 00929215c..d1b8ed856 100644 --- a/README.md +++ b/README.md @@ -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). + + **raylib is a simple and easy-to-use library to enjoy videogames programming.** diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 92c1979b3..de006bb4c 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -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()