summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-22 04:30:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-22 04:30:57 +0000
commitccbc4ecd6cb012de71cb4cafa04175d268aa64d3 (patch)
treeba1d7b1dc485aac0ceee1951c6481f5b3065c4f6 /Graphics/GraphicsEngine
parentFixed SRBs with non-separable shaders in GL back-end (diff)
downloadDiligentCore-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.h4
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;