Disable debug asserts and logging in Windows release builds

We allowed debug asserts and logging to be enabled in Windows on the
assumption of CPU power just always being strong enough. But there are
slow x86/x64 devices out there, and we shouldn't slow them down
unnecessarily.

Can always use debug builds to debug stuff.
This commit is contained in:
Henrik Rydgård 2023-05-31 11:03:12 +02:00
parent 24ebd76992
commit 408088d1a5

View file

@ -83,7 +83,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
;
bool GenericLogEnabled(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type);
#if defined(_DEBUG) || defined(_WIN32)
#if defined(_DEBUG)
#define MAX_LOGLEVEL DEBUG_LEVEL