diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index f73d4ab4c9..c570fad768 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -520,12 +520,12 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) { } } - if ((g_Config.iTexFiltering == linear || (g_Config.iTexFiltering == linearFMV && g_iNumVideos)) && !gstate.isColorTestEnabled()) { + if ((g_Config.iTexFiltering == LINEAR || (g_Config.iTexFiltering == LINEARFMV && g_iNumVideos)) && !gstate.isColorTestEnabled()) { magFilt |= 1; minFilt |= 1; } - if (g_Config.iTexFiltering == nearest) { + if (g_Config.iTexFiltering == NEAREST) { magFilt &= ~1; minFilt &= ~1; }