WindowShouldClose(), reset shouldClose flag when window is inited

This commit is contained in:
maksut 2023-11-09 19:35:37 +00:00
parent 21dc42d2ad
commit e69bd2d71e

View File

@ -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));