mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Added a "Nearest Filtering" option for testing.
This commit is contained in:
1 parent
56aeab6558
commit
505f8559c1
8 files changed
+16
No files matched your search
@@ -511,6 +511,11 @@ void TextureCache::UpdateSamplingParams(TexCacheEntry &entry, bool force) {
|
||||
minFilt |= 1;
|
||||
}
|
||||
|
||||
if (g_Config.bNearestFiltering) {
|
||||
magFilt &= 0xFFFFFFFE;
|
||||
minFilt &= 0xFFFFFFFE;
|
||||
}
|
||||
|
||||
if (!g_Config.bMipMap) {
|
||||
magFilt &= 1;
|
||||
minFilt &= 1;
|
||||
|
||||
Reference in new issue
Block a user