summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/interface/StreamingBuffer.hpp2
1 files changed, 1 insertions, 1 deletions
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},