mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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();
|
auto lock = this->m_parent->LockDevice();
|
||||||
|
|
||||||
m_texture.SetMipFilter(FilterType);
|
m_texture.SetMipFilter(FilterType);
|
||||||
this->m_parent->MarkTextureMipsDirty(&m_texture);
|
if (m_texture.IsAutomaticMip())
|
||||||
|
this->m_parent->MarkTextureMipsDirty(&m_texture);
|
||||||
return D3D_OK;
|
return D3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user