Skip to content

Commit

Permalink
[d3d9] Mark generated mip maps as dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
K0bin committed Dec 12, 2020
1 parent 59baffb commit d640a76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5016,6 +5016,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...
Expand Down

0 comments on commit d640a76

Please sign in to comment.