WindowShouldClose(), reset shouldClose flag when window is inited
This commit is contained in:
parent
21dc42d2ad
commit
e69bd2d71e
|
|
@ -658,6 +658,7 @@ void InitWindow(int width, int height, const char *title)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CORE.Time.frameCounter = 0;
|
CORE.Time.frameCounter = 0;
|
||||||
|
CORE.Window.shouldClose = false;
|
||||||
|
|
||||||
// Initialize random seed
|
// Initialize random seed
|
||||||
SetRandomSeed((unsigned int)time(NULL));
|
SetRandomSeed((unsigned int)time(NULL));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user