summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-14 15:57:17 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-14 15:57:17 +0000
commit53e45f6540066115332a1471b98182b3baa82feb (patch)
tree2374329947d5eb318dc72e9fc3d2def0011aba2b /Graphics/GraphicsTools
parentImplemented generate PSO cache warmup when texture view is created (diff)
downloadDiligentCore-53e45f6540066115332a1471b98182b3baa82feb.tar.gz
DiligentCore-53e45f6540066115332a1471b98182b3baa82feb.zip
Added comments about Fence thread safety; minor code improvements
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/include/TextureUploader.h6
-rw-r--r--Graphics/GraphicsTools/include/TextureUploaderBase.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsTools/include/TextureUploader.h b/Graphics/GraphicsTools/include/TextureUploader.h
index dbbf65d0..8066e0ca 100644
--- a/Graphics/GraphicsTools/include/TextureUploader.h
+++ b/Graphics/GraphicsTools/include/TextureUploader.h
@@ -30,9 +30,9 @@ namespace Diligent
{
struct UploadBufferDesc
{
- Uint32 Width = 0;
- Uint32 Height = 0;
- Uint32 Depth = 1;
+ Uint32 Width = 0;
+ Uint32 Height = 0;
+ Uint32 Depth = 1;
TEXTURE_FORMAT Format = TEX_FORMAT_UNKNOWN;
bool operator == (const UploadBufferDesc &rhs) const
diff --git a/Graphics/GraphicsTools/include/TextureUploaderBase.h b/Graphics/GraphicsTools/include/TextureUploaderBase.h
index cd26c86d..d1c460a1 100644
--- a/Graphics/GraphicsTools/include/TextureUploaderBase.h
+++ b/Graphics/GraphicsTools/include/TextureUploaderBase.h
@@ -66,7 +66,7 @@ namespace Diligent
class TextureUploaderBase : public ObjectBase<ITextureUploader>
{
public:
- TextureUploaderBase(IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureUploaderDesc Desc) :
+ TextureUploaderBase(IReferenceCounters* pRefCounters, IRenderDevice* pDevice, const TextureUploaderDesc Desc) :
ObjectBase<ITextureUploader>(pRefCounters),
m_pDevice(pDevice)
{}