mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-19 14:55:38 +00:00
D3D11/Texture: Fix dimensions not getting reset on destroy
This commit is contained in:
parent
d09a802a17
commit
5804778339
|
@ -121,6 +121,8 @@ void Texture::Destroy()
|
||||||
m_rtv.Reset();
|
m_rtv.Reset();
|
||||||
m_srv.Reset();
|
m_srv.Reset();
|
||||||
m_texture.Reset();
|
m_texture.Reset();
|
||||||
|
m_width = 0;
|
||||||
|
m_height = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace D3D11
|
} // namespace D3D11
|
Loading…
Reference in a new issue