Преглед изворни кода

WindowShouldClose(), reset shouldClose flag when window is inited (#3518)

pull/3519/head
maksut пре 1 година
committed by GitHub
родитељ
комит
1b524bb2ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      src/rcore.c

+ 1
- 0
src/rcore.c Прегледај датотеку

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

Loading…
Откажи
Сачувај