mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-30 08:24:05 +00:00
Do not apply shift scale to background textures.
Fixes issue with Command & Conquer described in #2617
This commit is contained in:
parent
df2d4debbb
commit
0d765008d0
|
@ -258,8 +258,6 @@ public:
|
|||
aTexSize[t][0] = pTexture->width * pTexture->hdRatioS;
|
||||
aTexSize[t][1] = pTexture->height * pTexture->hdRatioT;
|
||||
|
||||
aShiftScale[t][0] = calcShiftScaleS(*pTile);
|
||||
aShiftScale[t][1] = calcShiftScaleT(*pTile);
|
||||
|
||||
if (pTile->textureMode != TEXTUREMODE_BGIMAGE && pTile->textureMode != TEXTUREMODE_FRAMEBUFFER_BG) {
|
||||
float fuls = pTile->fuls;
|
||||
|
@ -277,6 +275,9 @@ public:
|
|||
}
|
||||
aTexOffset[t][0] = fuls;
|
||||
aTexOffset[t][1] = fult;
|
||||
|
||||
aShiftScale[t][0] = calcShiftScaleS(*pTile);
|
||||
aShiftScale[t][1] = calcShiftScaleT(*pTile);
|
||||
}
|
||||
|
||||
aHDRatio[t][0] = pTexture->hdRatioS;
|
||||
|
|
Loading…
Reference in New Issue
Block a user