From 75202ac55b5319d7c553e9b791c1a839230ecb5e Mon Sep 17 00:00:00 2001 From: vlj Date: Sat, 23 May 2015 18:45:21 +0200 Subject: [PATCH] d3d12: properly clean textures --- rpcs3/Emu/RSX/D3D12/D3D12Texture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12Texture.cpp b/rpcs3/Emu/RSX/D3D12/D3D12Texture.cpp index d1f7d5ff93..b910093d2e 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12Texture.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12Texture.cpp @@ -91,7 +91,8 @@ size_t D3D12GSRender::UploadTextures() getCurrentResourceStorage().m_currentStorageOffset += textureSize; getCurrentResourceStorage().m_currentStorageOffset = (getCurrentResourceStorage().m_currentStorageOffset + 65536 - 1) & ~65535; - + getCurrentResourceStorage().m_inflightResources.push_back(Texture); + getCurrentResourceStorage().m_inflightResources.push_back(vramTexture); D3D12_TEXTURE_COPY_LOCATION dst = {}, src = {};