diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-22 04:30:57 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-22 04:30:57 +0000 |
| commit | ccbc4ecd6cb012de71cb4cafa04175d268aa64d3 (patch) | |
| tree | ba1d7b1dc485aac0ceee1951c6481f5b3065c4f6 /Graphics/GraphicsEngine | |
| parent | Fixed SRBs with non-separable shaders in GL back-end (diff) | |
| download | DiligentCore-ccbc4ecd6cb012de71cb4cafa04175d268aa64d3.tar.gz DiligentCore-ccbc4ecd6cb012de71cb4cafa04175d268aa64d3.zip | |
Implemented workaround to allow binding static resources when separate shader objects are not available in GL back-end
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/ResourceMapping.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
