mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-13 16:00:51 +01:00
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…
x
Reference in New Issue
Block a user