Permalink
Browse files

Add a missing break that would explain the odd AUTO mipmap test resul…

…ts on D3D11 and Vulkan...
  • Loading branch information...
hrydgard committed Nov 21, 2017
1 parent d03bd75 commit 9468b3d07300603dd45a449afb9c60cdad5db8fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 GPU/Common/TextureCacheCommon.cpp
@@ -225,8 +225,8 @@ void TextureCacheCommon::UpdateSamplingParams(TexCacheEntry &entry, SamplerCache
key.lodBias = (int)(lodBias * 256.0f);
if (gstate_c.Supports(GPU_SUPPORTS_ANISOTROPY) && g_Config.iAnisotropyLevel > 0) {
key.aniso = true;
break;
}
break;
case GE_TEXLEVEL_MODE_CONST:
case GE_TEXLEVEL_MODE_UNKNOWN:
key.maxLevel = (int)(lodBias * 256.0f);

3 comments on commit 9468b3d

@Sarkie

This comment has been minimized.

Sarkie replied Nov 21, 2017

Are you running a static analyser?

@hrydgard

This comment has been minimized.

Owner

hrydgard replied Nov 21, 2017

Quite obviously not :) I should though.

@Sarkie

This comment has been minimized.

Please sign in to comment.