forked from Mirrorlandia_minetest/irrlicht
Reset blend operation in 2d mode
This commit is contained in:
parent
392df9bae3
commit
a04a0d2a4b
@ -2851,6 +2851,7 @@ void COpenGLDriver::setRenderStates2DMode(bool alpha, bool texture, bool alphaCh
|
||||
}
|
||||
|
||||
CacheHandler->setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
CacheHandler->setBlendEquation(GL_FUNC_ADD);
|
||||
|
||||
#ifdef GL_EXT_clip_volume_hint
|
||||
if (FeatureAvailable[IRR_EXT_clip_volume_hint])
|
||||
|
Loading…
Reference in New Issue
Block a user