From 8ee05c79ae1748ef132a12e4fb0af284899faec6 Mon Sep 17 00:00:00 2001 From: Miles Macklin Date: Mon, 19 Mar 2018 15:10:24 +1300 Subject: Flex 1.2.0 release --- demo/d3d12/imguiGraphD3D12.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'demo/d3d12/imguiGraphD3D12.cpp') diff --git a/demo/d3d12/imguiGraphD3D12.cpp b/demo/d3d12/imguiGraphD3D12.cpp index 64c507d..c9894fe 100644 --- a/demo/d3d12/imguiGraphD3D12.cpp +++ b/demo/d3d12/imguiGraphD3D12.cpp @@ -549,7 +549,7 @@ void imguiGraphFontTextureInitD3D12(unsigned char* data) D3D12_RESOURCE_STATE_COPY_DEST, nullptr, IID_PPV_ARGS(&m_texture) - )) + )) { return; } @@ -578,7 +578,7 @@ void imguiGraphFontTextureInitD3D12(unsigned char* data) D3D12_RESOURCE_STATE_GENERIC_READ, nullptr, IID_PPV_ARGS(&m_textureUploadHeap) - )) + )) { return; } @@ -655,7 +655,6 @@ void imguiGraphFontTextureInitD3D12(unsigned char* data) m_desc.device->CreateShaderResourceView(m_texture, &srvDesc, srvUavHandle); } - } void imguiGraphFontTextureReleaseD3D12() @@ -664,4 +663,4 @@ void imguiGraphFontTextureReleaseD3D12() COMRelease(m_textureUploadHeap); COMRelease(m_srvUavHeapCPU); COMRelease(m_srvUavHeapGPU); -} \ No newline at end of file +} -- cgit v1.2.3