mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-06 20:49:24 +01:00
Reset blend operation in 2d mode
This commit is contained in:
parent
392df9bae3
commit
a04a0d2a4b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue