Pārlūkot izejas kodu

Silence lws logs

Set log level to 0 for SDL to handle logging.
feature/data-structs
TheoryOfNekomata pirms 2 gadiem
vecāks
revīzija
141d3f926a
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      src/packages/game/network/IZ_wsclient.c

+ 3
- 0
src/packages/game/network/IZ_wsclient.c Parādīt failu

@@ -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",


Notiek ielāde…
Atcelt
Saglabāt