From 53e45f6540066115332a1471b98182b3baa82feb Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 14 Apr 2019 08:57:17 -0700 Subject: Added comments about Fence thread safety; minor code improvements --- Graphics/GraphicsTools/include/TextureUploader.h | 6 +++--- Graphics/GraphicsTools/include/TextureUploaderBase.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Graphics/GraphicsTools') 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 { public: - TextureUploaderBase(IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const TextureUploaderDesc Desc) : + TextureUploaderBase(IReferenceCounters* pRefCounters, IRenderDevice* pDevice, const TextureUploaderDesc Desc) : ObjectBase(pRefCounters), m_pDevice(pDevice) {} -- cgit v1.2.3