瀏覽代碼

[rcore] use LOG_WARNING when InitPlatform() fails

...as this is preferred over LOG_ERROR.

Requested-by: https://github.com/raysan5/raylib/pull/4803#discussion_r1976651724
pull/4803/head
sleeptightAnsiC 1 月之前
父節點
當前提交
498e884daf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c 查看文件

@ -685,7 +685,7 @@ void InitWindow(int width, int height, const char *title)
if (result != 0)
{
TRACELOG(LOG_ERROR, "SYSTEM: Failed to initialize Platform");
TRACELOG(LOG_WARNING, "SYSTEM: Failed to initialize Platform");
return;
}
//--------------------------------------------------------------

Loading…
取消
儲存