Browse Source

Build: Fixing release mode build

BearishSun 8 years ago
parent
commit
54c550c6e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/BansheeUtility/Allocators/BsStaticAlloc.h

+ 1 - 1
Source/BansheeUtility/Allocators/BsStaticAlloc.h

@@ -142,8 +142,8 @@ namespace bs
 			if (data == nullptr)
 				return;
 
-#if BS_DEBUG_MODE
 			UINT8* dataPtr = (UINT8*)data;
+#if BS_DEBUG_MODE
 			dataPtr -= sizeof(UINT32);
 
 			UINT32* storedSize = (UINT32*)(dataPtr);