浏览代码

[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) if (result != 0)
{ {
TRACELOG(LOG_ERROR, "SYSTEM: Failed to initialize Platform");
TRACELOG(LOG_WARNING, "SYSTEM: Failed to initialize Platform");
return; return;
} }
//-------------------------------------------------------------- //--------------------------------------------------------------

正在加载...
取消
保存