mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Merge pull request #21800 from hrydgard/fix-smart-2d-check
Oops, lost a check for smart 2D texture filtering
This commit is contained in:
@@ -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