Skip to content

Commit

Permalink
gpu: fix anisotropic filtering resetting to 0 after plugin is toggled
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjallen authored Oct 26, 2020
1 parent 927afca commit 62413bc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ protected void shutDown()
modelBuffer = null;
modelBufferUnordered = null;

lastAnisotropicFilteringLevel = -1;

// force main buffer provider rebuild to turn off alpha channel
client.resizeCanvas();
});
Expand Down

0 comments on commit 62413bc

Please sign in to comment.