瀏覽代碼

Silence lws logs

Set log level to 0 for SDL to handle logging.
feature/data-structs
TheoryOfNekomata 2 年之前
父節點
當前提交
141d3f926a
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      src/packages/game/network/IZ_wsclient.c

+ 3
- 0
src/packages/game/network/IZ_wsclient.c 查看文件

@@ -49,6 +49,9 @@ IZ_ProcedureResult IZ_WSClientConnect(IZ_WSClient* client, IZ_WSClientConnectPar
}

IZ_ProcedureResult IZ_WSClientInitialize(IZ_WSClient* client, void* app) {
// TODO delegate logs to SDL
lws_set_log_level(0, NULL);

static struct lws_protocols protocols[] = {
{
.name = "lws-minimal-client",


Loading…
取消
儲存