From ccbc4ecd6cb012de71cb4cafa04175d268aa64d3 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 21 Feb 2019 20:30:57 -0800 Subject: Implemented workaround to allow binding static resources when separate shader objects are not available in GL back-end --- Graphics/GraphicsEngine/interface/ResourceMapping.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/ResourceMapping.h b/Graphics/GraphicsEngine/interface/ResourceMapping.h index 40ab56ea..c3fb9e57 100644 --- a/Graphics/GraphicsEngine/interface/ResourceMapping.h +++ b/Graphics/GraphicsEngine/interface/ResourceMapping.h @@ -117,7 +117,7 @@ namespace Diligent /// \param [in] Name - Name of the resource to remove. /// \param [in] ArrayIndex - For array resources, index in the array - virtual void RemoveResourceByName (const Char *Name, Uint32 ArrayIndex = 0) = 0; + virtual void RemoveResourceByName (const Char* Name, Uint32 ArrayIndex = 0) = 0; /// Finds a resource in the mapping. @@ -128,7 +128,7 @@ namespace Diligent /// If no object is found, nullptr will be written. /// \remarks The method increases the reference counter /// of the returned object, so Release() must be called. - virtual void GetResource (const Char *Name, IDeviceObject **ppResource, Uint32 ArrayIndex = 0) = 0; + virtual void GetResource (const Char* Name, IDeviceObject** ppResource, Uint32 ArrayIndex = 0) = 0; /// Returns the size of the resource mapping, i.e. the number of objects. virtual size_t GetSize() = 0; -- cgit v1.2.3