mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-06 04:35:41 -04: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_srv.Reset();
|
||||
m_texture.Reset();
|
||||
m_width = 0;
|
||||
m_height = 0;
|
||||
}
|
||||
|
||||
} // namespace D3D11
|
Loading…
x
Reference in New Issue
Block a user