From 498e7ad8c7e6cd6f6a7c85c890d651c7bd9356d8 Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 8 Jul 2020 18:26:08 -0700 Subject: Fixed minor code review issue --- Graphics/GraphicsTools/interface/StreamingBuffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsTools') diff --git a/Graphics/GraphicsTools/interface/StreamingBuffer.hpp b/Graphics/GraphicsTools/interface/StreamingBuffer.hpp index 65cad5e5..1893cead 100644 --- a/Graphics/GraphicsTools/interface/StreamingBuffer.hpp +++ b/Graphics/GraphicsTools/interface/StreamingBuffer.hpp @@ -55,7 +55,7 @@ public: StreamingBuffer() noexcept {} - StreamingBuffer(const StreamingBufferCreateInfo& CI) : + explicit StreamingBuffer(const StreamingBufferCreateInfo& CI) : m_UsePersistentMap{CI.AllowPersistentMapping && (CI.pDevice->GetDeviceCaps().IsVulkanDevice() || CI.pDevice->GetDeviceCaps().DevType == RENDER_DEVICE_TYPE_D3D12)}, m_BufferSize{CI.BuffDesc.uiSizeInBytes}, m_OnBufferResizeCallback{CI.OnBufferResizeCallback}, -- cgit v1.2.3