fix gl blend bug

This commit is contained in:
aap 2020-08-19 20:47:59 +02:00
parent 93c246b6b1
commit fbb2d35fc4

View File

@ -323,7 +323,7 @@ setAlphaBlend(bool32 enable)
{
if(rwStateCache.blendEnable != enable){
rwStateCache.blendEnable = enable;
setGlRenderState(RWGL_BLEND, true);
setGlRenderState(RWGL_BLEND, enable);
}
}