1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[d3d9] Mark generated mip maps as dirty

This commit is contained in:
Robin Kertels 2020-09-13 19:17:14 +02:00 committed by Joshie
parent 021ffe7350
commit ec5c324643

View File

@ -5022,6 +5022,7 @@ namespace dxvk {
void D3D9DeviceEx::MarkTextureMipsDirty(D3D9CommonTexture* pResource) {
pResource->SetNeedsMipGen(true);
pResource->MarkAllDirty();
for (uint32_t tex = m_activeTextures; tex; tex &= tex - 1) {
// Guaranteed to not be nullptr...