summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-26 23:21:35 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-26 23:21:35 +0000
commit00e8dcdb71c6ae3fefd83958ead19b1d72f544e4 (patch)
tree582808f886ffda1a4d9c360a610f2298c06197a2 /Graphics/GraphicsEngine
parentRenamed .h -> .hpp in Common and HLSL2GLSLConverterLib projects (diff)
downloadDiligentCore-00e8dcdb71c6ae3fefd83958ead19b1d72f544e4.tar.gz
DiligentCore-00e8dcdb71c6ae3fefd83958ead19b1d72f544e4.zip
More .h -> .hpp renamings
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