From 02b69a86e7d07b8da5ca35ff2478364d5be2bc33 Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Wed, 3 Feb 2016 14:43:50 +0100 Subject: [PATCH] Fixed DEBUG_IF --- include/Engine/Core/Util/IfDebug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Engine/Core/Util/IfDebug.h b/include/Engine/Core/Util/IfDebug.h index 79cb3a4c..85b64c8d 100644 --- a/include/Engine/Core/Util/IfDebug.h +++ b/include/Engine/Core/Util/IfDebug.h @@ -4,7 +4,7 @@ // } // NOTE: condition statement is not executed at all in release mode. #ifndef DEBUG_IF -#ifndef DEBUG +#ifdef DEBUG #define DEBUG_IF(c) if(c) #else #define DEBUG_IF(c) if(false)