mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-30 08:24:05 +00:00
Restore equivalent to old code for nativeResFactor=0
This commit is contained in:
parent
ce1fb27cf7
commit
213c10d6de
|
@ -257,6 +257,10 @@ public:
|
|||
} else {
|
||||
texCoordOffset[t][0] = (gDP.lastTexRectInfo.dsdx >= 0.0f ? 0.0f : -1.0f) * gDP.lastTexRectInfo.dsdx * _pTexture->hdRatioS;
|
||||
texCoordOffset[t][1] = (gDP.lastTexRectInfo.dtdy >= 0.0f ? 0.0f : -1.0f) * gDP.lastTexRectInfo.dtdy * _pTexture->hdRatioT;
|
||||
if (gDP.otherMode.textureFilter != G_TF_POINT) {
|
||||
texCoordOffset[t][0] -= 0.5f;
|
||||
texCoordOffset[t][1] -= 0.5f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user