mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Oops, lost a check for smart 2D texture filtering
This commit is contained in:
1 parent
52e1fcf48b
commit
2da3df75d7
1 file changed
+1
-1
@@ -801,7 +801,7 @@ static SoftwareTransformAction ProjectClipAndExpand(SoftwareTransformParams &par
|
||||
|
||||
// Let's go look for pixel mapping.
|
||||
const bool flat = ((u32)params.clipInfoFlags & ((u32)(ClipInfoFlags::Valid | ClipInfoFlags::FlatZ))) == (u32)(ClipInfoFlags::Valid | ClipInfoFlags::FlatZ);
|
||||
const bool lookForPixelMapping = flat && gstate.isMagnifyFilteringEnabled();
|
||||
const bool lookForPixelMapping = flat && gstate.isMagnifyFilteringEnabled() && g_Config.bSmart2DTexFiltering;
|
||||
|
||||
// TODO: We should probably take uv scale into account?
|
||||
const float uScale = gstate_c.curTextureWidth;
|
||||
|
||||
Reference in new issue
Block a user