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

Fix GL error due to setting a uniform that was not located.

This commit is contained in:
Francisco Zurita 2016-08-09 01:38:54 -04:00 committed by Sergey Lipskiy
parent c17b1f2e11
commit 8f615b9aaf

View File

@ -745,8 +745,9 @@ void ShaderCombiner::updateFrameBufferInfo(bool _bForce) {
}
m_uniforms.uFbMonochrome.set(nFbMonochromeMode0, nFbMonochromeMode1, _bForce);
m_uniforms.uFbFixedAlpha.set(nFbFixedAlpha0, nFbFixedAlpha1, _bForce);
#ifdef GL_MULTISAMPLING_SUPPORT
m_uniforms.uMSTexEnabled.set(nMSTex0Enabled, nMSTex1Enabled, _bForce);
#endif
gDP.changed &= ~CHANGED_FB_TEXTURE;
}