From 4fc6661cb4a36b0af9a2ad4660a99db5528f87b7 Mon Sep 17 00:00:00 2001 From: HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> Date: Thu, 28 Jul 2022 14:58:51 +0300 Subject: [PATCH] fix SDL --- tier0/dbg.cpp | 2 +- wscript | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tier0/dbg.cpp b/tier0/dbg.cpp index 2247a375..83205eef 100644 --- a/tier0/dbg.cpp +++ b/tier0/dbg.cpp @@ -380,7 +380,7 @@ static SpewRetval_t _SpewMessage( SpewType_t spewType, const char *pGroupName, i /* direct it to the appropriate target(s) */ SpewRetval_t ret; - assert( g_pSpewInfo == NULL ); + assert( g_pSpewInfo == (void*)NULL ); SpewInfo_t spewInfo = { pColor, diff --git a/wscript b/wscript index 40d865c6..44ef3ca1 100644 --- a/wscript +++ b/wscript @@ -155,6 +155,7 @@ def define_platform(conf): conf.env.append_unique('DEFINES', ['TOGLES']) if conf.options.SDL: + conf.env.SDL = 1 conf.define('USE_SDL', 1) if conf.options.ALLOW64: