mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct possible null pointer dereferencing in OGLRender::_updateTextures
This commit is contained in:
parent
a140d5ee7b
commit
01b2184272
|
@ -1138,9 +1138,9 @@ void OGLRender::_updateTextures(RENDER_STATE _renderState) const
|
|||
textureCache().activateDummy(t);
|
||||
}
|
||||
pCurrentCombiner->updateFrameBufferInfo();
|
||||
if (pCurrentCombiner->usesTexture() && (_renderState == rsTriangle || _renderState == rsLine))
|
||||
cmbInfo.updateTextureParameters();
|
||||
}
|
||||
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