1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Include updateFBInfo into ShaderCombiner::update().

Fixed monochrome textures in JFG.
This commit is contained in:
Sergey Lipskiy 2014-10-10 13:22:58 +07:00
parent 070f914583
commit a95b7166e9
2 changed files with 2 additions and 1 deletions

View File

@ -578,6 +578,7 @@ void ShaderCombiner::update() {
updateColors(true);
updateTextureInfo(true);
updateAlphaTestInfo(true);
updateFBInfo(true);
updateDepthInfo(true);
updateLight(true);
}

View File

@ -567,7 +567,7 @@ void OGLRender::_updateStates() const
}
if (gDP.changed & CHANGED_FB_TEXTURE)
currentCombiner()->updateFBInfo(true);
currentCombiner()->updateFBInfo(false);
if ((gDP.changed & CHANGED_RENDERMODE) || (gSP.geometryMode & G_ZBUFFER))
currentCombiner()->updateDepthInfo(true);