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:
parent
973678e6bf
commit
be3c248c8b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user