summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/EngineMemory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngine/include/EngineMemory.h b/Graphics/GraphicsEngine/include/EngineMemory.h
index b3197aed..8211bf35 100644
--- a/Graphics/GraphicsEngine/include/EngineMemory.h
+++ b/Graphics/GraphicsEngine/include/EngineMemory.h
@@ -32,8 +32,8 @@
#include "MemoryAllocator.h"
-namespace Diligent
-{
+DILIGENT_BEGIN_NAMESPACE(Diligent)
+
/// Sets raw memory allocator. This function must be called before any memory allocation/deallocation function
/// is called.
void SetRawAllocator(IMemoryAllocator* pRawAllocator);
@@ -47,7 +47,7 @@ IMemoryAllocator& GetStringAllocator();
#define ALLOCATE(Allocator, Desc, Type, Count) reinterpret_cast<Type*>(ALLOCATE_RAW(Allocator, Desc, sizeof(Type) * (Count)))
#define FREE(Allocator, Ptr) Allocator.Free(Ptr)
-} // namespace Diligent
+DILIGENT_END_NAMESPACE // namespace Diligent
#if 0