gpu: fix anisotropic filtering resetting to 0 after plugin is toggled

This commit is contained in:
Caleb Allen
2020-10-26 17:40:29 -04:00
committed by GitHub
parent 927afcaafd
commit 62413bcf2a

View File

@@ -489,6 +489,8 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
modelBuffer = null;
modelBufferUnordered = null;
lastAnisotropicFilteringLevel = -1;
// force main buffer provider rebuild to turn off alpha channel
client.resizeCanvas();
});