SDL: Fix log spam in Release builds

This commit is contained in:
Connor McLaughlin 2020-01-11 13:29:22 +10:00
parent a9e12883bf
commit e68e67f161
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static int Run(int argc, char* argv[])
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
// set log flags // set log flags
#ifdef Y_BUILD_CONFIG_RELEASE #ifndef _DEBUG
const LOGLEVEL level = LOGLEVEL_INFO; const LOGLEVEL level = LOGLEVEL_INFO;
// const LOGLEVEL level = LOGLEVEL_DEV; // const LOGLEVEL level = LOGLEVEL_DEV;
// const LOGLEVEL level = LOGLEVEL_PROFILE; // const LOGLEVEL level = LOGLEVEL_PROFILE;