From 321dfe299cd3b15bd0216113068f13dfa4b99cf0 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 12 Apr 2019 19:34:18 -0700 Subject: Updated ALLOCATE macros to make it more convenient --- Graphics/GraphicsEngineOpenGL/src/GLProgramResources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/src/GLProgramResources.cpp b/Graphics/GraphicsEngineOpenGL/src/GLProgramResources.cpp index 710dc9fa..00f07ea0 100644 --- a/Graphics/GraphicsEngineOpenGL/src/GLProgramResources.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/GLProgramResources.cpp @@ -132,7 +132,7 @@ namespace Diligent TotalMemorySize += AlignedStringPoolDataSize * sizeof(Char); auto& MemAllocator = GetRawAllocator(); - void* RawMemory = ALLOCATE(MemAllocator, "Memory buffer for GLProgramResources", TotalMemorySize); + void* RawMemory = ALLOCATE_RAW(MemAllocator, "Memory buffer for GLProgramResources", TotalMemorySize); m_UniformBuffers = reinterpret_cast(RawMemory); m_Samplers = reinterpret_cast (m_UniformBuffers + m_NumUniformBuffers); -- cgit v1.2.3