mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Correct UTextureEngine::update() for background textures.
Fixed #2251 Zelda: OnePiece backgrounds broken
This commit is contained in:
parent
f9dd77886b
commit
0a755614a0
|
@ -1012,10 +1012,10 @@ public:
|
|||
pTile->textureMode != TEXTUREMODE_NORMAL ||
|
||||
g_debugger.isDebugMode())
|
||||
{
|
||||
aTexWrap[t][0] = 1.0;
|
||||
aTexWrap[t][1] = 1.0;
|
||||
aTexClamp[t][0] = f32(pTexture->width) - 1.0f;
|
||||
aTexClamp[t][1] = f32(pTexture->height) - 1.0f;
|
||||
aTexWrap[t][0] = pTexture->hdRatioS;
|
||||
aTexWrap[t][1] = pTexture->hdRatioT;
|
||||
aTexClamp[t][0] = f32(pTexture->width) * pTexture->hdRatioS - 1.0f;
|
||||
aTexClamp[t][1] = f32(pTexture->height) * pTexture->hdRatioT - 1.0f;
|
||||
aTexWrapEn[t][0] = 0.0;
|
||||
aTexWrapEn[t][1] = 0.0;
|
||||
aTexClampEn[t][0] = 1.0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user