1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[d3d9] Don't mark mips as dirty when the texture doesn't have automatic mips

This commit is contained in:
Georg Lehmann 2021-08-07 15:53:55 +02:00 committed by Joshie
parent 973678e6bf
commit be3c248c8b

View File

@ -80,7 +80,8 @@ namespace dxvk {
auto lock = this->m_parent->LockDevice();
m_texture.SetMipFilter(FilterType);
this->m_parent->MarkTextureMipsDirty(&m_texture);
if (m_texture.IsAutomaticMip())
this->m_parent->MarkTextureMipsDirty(&m_texture);
return D3D_OK;
}