Some GPU code cleanup. Disable some unnecessary reporting.

This commit is contained in:
Henrik Rydgård committed 2020-09-24 23:01:23 +02:00
1 parent 99054b59bf
commit 4cfafb4605
2 files changed
+9 -17

No files matched your search

+2 -3
View File
@@ -260,10 +260,9 @@ SamplerCacheKey TextureCacheCommon::GetFramebufferSamplingParams(u16 bufferWidth
// Kill any mipmapping settings.
key.mipEnable = false;
key.minFilt &= 1;
key.mipFilt = 0;
key.magFilt &= 1;
key.mipFilt = false;
key.aniso = 0.0;
key.maxLevel = 0.0f;
// Often the framebuffer will not match the texture size. We'll wrap/clamp in the shader in that case.
int w = gstate.getTextureWidth(0);