瀏覽代碼

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

pull/3519/head
maksut 1 年之前
committed by GitHub
父節點
當前提交
1b524bb2ec
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存