mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +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:
parent
2c8533661b
commit
b2f3caa1a4
|
@ -502,13 +502,6 @@ struct ObjCoordinates
|
||||||
lrs = uls + (lrx - ulx) * scaleW;
|
lrs = uls + (lrx - ulx) * scaleW;
|
||||||
lrt = ult + (lry - uly) * scaleH;
|
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
|
// G_CYC_COPY (BgRectCopyOnePiece()) does not allow texture filtering
|
||||||
if (gDP.otherMode.cycleType != G_CYC_COPY) {
|
if (gDP.otherMode.cycleType != G_CYC_COPY) {
|
||||||
// Correct texture coordinates if G_OBJRM_BILERP
|
// Correct texture coordinates if G_OBJRM_BILERP
|
||||||
|
|
Loading…
Reference in New Issue
Block a user