diff options
author | Dmitry Kostenko <codeforsmile@gmail.com> | 2022-06-08 23:04:06 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-06-09 08:20:23 +0200 |
commit | a04a0d2a4b18f45078c82d058a7c760734d7f69f (patch) | |
tree | 741379a46749d50c3e7e255fded990b9dda8133c | |
parent | 392df9bae3de8a71bf1d119a58dc2d9f1388751d (diff) | |
download | irrlicht-a04a0d2a4b18f45078c82d058a7c760734d7f69f.tar.xz |
Reset blend operation in 2d mode
-rw-r--r-- | source/Irrlicht/COpenGLDriver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Irrlicht/COpenGLDriver.cpp b/source/Irrlicht/COpenGLDriver.cpp index 81c7250..511c88c 100644 --- a/source/Irrlicht/COpenGLDriver.cpp +++ b/source/Irrlicht/COpenGLDriver.cpp @@ -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])
|