mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
d3d12: Use ComPtr<> instead of manually releasing some structures
This commit is contained in:
parent
9cb88b3a8d
commit
09cc127dd9
8 changed files with 55 additions and 66 deletions
|
|
@ -758,7 +758,7 @@ size_t D3D12GSRender::UploadTextures(ID3D12GraphicsCommandList *cmdlist)
|
|||
}
|
||||
else
|
||||
{
|
||||
vramTexture = uploadSingleTexture(m_textures[i], m_device, cmdlist, m_textureUploadData);
|
||||
vramTexture = uploadSingleTexture(m_textures[i], m_device.Get(), cmdlist, m_textureUploadData);
|
||||
m_texturesCache[texaddr] = vramTexture;
|
||||
|
||||
u32 s = (u32)align(getTextureSize(m_textures[i]), 4096);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue