D3D11/Texture: Fix dimensions not getting reset on destroy

This commit is contained in:
Connor McLaughlin 2020-09-13 01:19:05 +10:00
parent d09a802a17
commit 5804778339

View file

@ -121,6 +121,8 @@ void Texture::Destroy()
m_rtv.Reset();
m_srv.Reset();
m_texture.Reset();
m_width = 0;
m_height = 0;
}
} // namespace D3D11