mirror of https://github.com/PCSX2/pcsx2.git
GS: Only clamp tex coords to bounds in hardware.
This commit is contained in:
parent
f201a2e5dd
commit
719b83bf42
|
@ -3514,7 +3514,7 @@ GSState::TextureMinMaxResult GSState::GetTextureMinMax(GIFRegTEX0 TEX0, GIFRegCL
|
|||
// If it's the start of the texture and our little adjustment is all that pushed it over, clamp it to 0.
|
||||
// This stops the border check failing when using repeat but needed less than the full texture
|
||||
// since this was making it take the full texture even though it wasn't needed.
|
||||
if (((m_vt.m_min.t == GSVector4::zero()).mask() & 0x3) == 0x3)
|
||||
if (!clamp_to_tsize && ((m_vt.m_min.t == GSVector4::zero()).mask() & 0x3) == 0x3)
|
||||
st = st.max(GSVector4::zero());
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue