summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-02-13 20:18:43 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-02-13 20:18:43 +0000
commit036a1b4119033d43277afdfe72e218b8957afc12 (patch)
treecf10c9526194397a35f0957f898f8d73c79ceff9 /Graphics/GraphicsEngine
parentFixedBlockMemoryAllocator: fixed issue with block size alignment by sizeof(vo... (diff)
downloadDiligentCore-036a1b4119033d43277afdfe72e218b8957afc12.tar.gz
DiligentCore-036a1b4119033d43277afdfe72e218b8957afc12.zip
Fixed minor issue in BufferDesc ctor
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/Buffer.h b/Graphics/GraphicsEngine/interface/Buffer.h
index 015d6637..417b8ac3 100644
--- a/Graphics/GraphicsEngine/interface/Buffer.h
+++ b/Graphics/GraphicsEngine/interface/Buffer.h
@@ -118,10 +118,11 @@ struct BufferDesc DILIGENT_DERIVE(DeviceObjectAttribs)
CPU_ACCESS_FLAGS _CPUAccessFlags = BufferDesc{}.CPUAccessFlags,
BUFFER_MODE _Mode = BufferDesc{}.Mode,
Uint32 _ElementByteStride = BufferDesc{}.ElementByteStride,
- Uint64 _CommandQueueMask = BufferDesc{}.CommandQueueMask)noexcept :
+ Uint64 _CommandQueueMask = BufferDesc{}.CommandQueueMask) noexcept :
uiSizeInBytes {_uiSizeInBytes },
BindFlags {_BindFlags },
Usage {_Usage },
+ CPUAccessFlags {_CPUAccessFlags },
Mode {_Mode },
ElementByteStride {_ElementByteStride},
CommandQueueMask {_CommandQueueMask }