Explorar el Código

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

pull/3519/head
maksut hace 1 año
cometido por GitHub
padre
commit
1b524bb2ec
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/rcore.c

+ 1
- 0
src/rcore.c Ver fichero

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

Cargando…
Cancelar
Guardar