summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
index e906f31b..41df7223 100644
--- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
+++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
@@ -87,7 +87,7 @@ void ShaderResources::AllocateMemory(IMemoryAllocator& Allocator,
if( MemorySize )
{
- auto* pRawMem = ALLOCATE(Allocator, "Allocator for shader resources", MemorySize );
+ auto* pRawMem = ALLOCATE_RAW(Allocator, "Allocator for shader resources", MemorySize );
m_MemoryBuffer = std::unique_ptr< void, STDDeleterRawMem<void> >(pRawMem, Allocator);
char* NamesPool = reinterpret_cast<char*>(reinterpret_cast<D3DShaderResourceAttribs*>(pRawMem) + m_TotalResources);
m_ResourceNames.AssignMemory(NamesPool, ResourceNamesPoolSize);