Parcourir la source

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

pull/3519/head
maksut il y a 1 an
committed by GitHub
Parent
révision
1b524bb2ec
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/rcore.c

+ 1
- 0
src/rcore.c Voir le fichier

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

Chargement…
Annuler
Enregistrer