A fix by baby.lueshi that fixes the problems with rev 3187

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3190 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid
2009-05-09 07:55:30 +00:00
parent 8e535bf2c0
commit be45b223bb
5 changed files with 1223 additions and 1208 deletions

View File

@ -260,8 +260,11 @@ void PixelShaderManager::SetTexDims(int texmapid, u32 width, u32 height, u32 wra
void PixelShaderManager::SetCustomTexScale(int texmapid, float x, float y)
{
lastCustomTexScale[texmapid][0] = x;
lastCustomTexScale[texmapid][1] = y;
if (lastCustomTexScale[texmapid][0] != x || lastCustomTexScale[texmapid][1] != y) {
s_nTexDimsChanged |= 1 << texmapid;
lastCustomTexScale[texmapid][0] = x;
lastCustomTexScale[texmapid][1] = y;
}
}
void PixelShaderManager::SetZTextureBias(u32 bias)