diff options
| author | Miles Macklin <[email protected]> | 2018-03-19 15:10:24 +1300 |
|---|---|---|
| committer | Miles Macklin <[email protected]> | 2018-03-19 15:10:24 +1300 |
| commit | 8ee05c79ae1748ef132a12e4fb0af284899faec6 (patch) | |
| tree | 82bd5aa1892e28ce7886b6cfeafe66a47ff38e67 /demo/d3d12/imguiGraphD3D12.cpp | |
| parent | Flex 1.2 (beta 2) (diff) | |
| download | flex-8ee05c79ae1748ef132a12e4fb0af284899faec6.tar.xz flex-8ee05c79ae1748ef132a12e4fb0af284899faec6.zip | |
Flex 1.2.0 release
Diffstat (limited to 'demo/d3d12/imguiGraphD3D12.cpp')
| -rw-r--r-- | demo/d3d12/imguiGraphD3D12.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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 +} |