mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
WindowShouldClose(), reset shouldClose flag when window is inited (#3518)
This commit is contained in:
@@ -658,6 +658,7 @@ void InitWindow(int width, int height, const char *title)
|
||||
#endif
|
||||
|
||||
CORE.Time.frameCounter = 0;
|
||||
CORE.Window.shouldClose = false;
|
||||
|
||||
// Initialize random seed
|
||||
SetRandomSeed((unsigned int)time(NULL));
|
||||
|
Reference in New Issue
Block a user