mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Update texture parameters only if combiner uses textures.
This commit is contained in:
parent
7479845a46
commit
77b5b737d5
|
@ -662,7 +662,7 @@ void OGLRender::_updateStates(RENDER_STATE _renderState) const
|
|||
}
|
||||
pCurrentCombiner->updateFrameBufferInfo();
|
||||
}
|
||||
if (_renderState == rsTriangle || _renderState == rsLine)
|
||||
if (pCurrentCombiner->usesTexture() && (_renderState == rsTriangle || _renderState == rsLine))
|
||||
cmbInfo.updateTextureParameters();
|
||||
gDP.changed &= ~(CHANGED_TILE | CHANGED_TMEM);
|
||||
gSP.changed &= ~(CHANGED_TEXTURE);
|
||||
|
|
Loading…
Reference in New Issue
Block a user