d3d12: properly clean textures

This commit is contained in:
vlj 2015-05-23 18:45:21 +02:00 committed by Vincent Lejeune
parent 1076727c75
commit 75202ac55b
1 changed files with 2 additions and 1 deletions

View File

@ -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 = {};