1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00

Revert "Shift S2DEX background texture coordinates in non-native resolutions."

This reverts commit e0d5b0be7b.

fixes #2625 Majora's Mask misplaced blur
This commit is contained in:
Sergey Lipskiy 2021-12-19 20:39:35 +07:00
parent 2c8533661b
commit b2f3caa1a4

View File

@ -502,13 +502,6 @@ struct ObjCoordinates
lrs = uls + (lrx - ulx) * scaleW;
lrt = ult + (lry - uly) * scaleH;
if (config.frameBufferEmulation.nativeResFactor != 1u || config.video.multisampling != 0u) {
uls -= 0.5f * scaleW;
ult -= 0.5f * scaleH;
lrs -= 0.5f * scaleW;
lrt -= 0.5f * scaleH;
}
// G_CYC_COPY (BgRectCopyOnePiece()) does not allow texture filtering
if (gDP.otherMode.cycleType != G_CYC_COPY) {
// Correct texture coordinates if G_OBJRM_BILERP