mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06: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