mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 17:38:02 -05:00
D3D11: Ownership fixes for objects in DXTexture
This commit is contained in:
@@ -33,7 +33,7 @@ bool SwapChain::CreateSwapChainBuffers()
|
||||
if (FAILED(hr))
|
||||
return false;
|
||||
|
||||
m_texture = DXTexture::CreateAdopted(texture.Get());
|
||||
m_texture = DXTexture::CreateAdopted(std::move(texture));
|
||||
if (!m_texture)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user