mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
softgpu: Correct non-SSE T clamp.
This commit is contained in:
1 parent
39d5b1c221
commit
9cc0883d53
1 file changed
+1
-1
@@ -167,7 +167,7 @@ static inline Vec4IntResult SOFTRAST_CALL ApplyTexelClampQuad(bool clamp, Vec4In
|
||||
result.ivec = _mm_and_si128(result.ivec, _mm_set1_epi32(width - 1));
|
||||
}
|
||||
#else
|
||||
if (gstate.isTexCoordClampedS()) {
|
||||
if (clamp) {
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
result[i] = ClampUV(result[i], width);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user