From a04a0d2a4b18f45078c82d058a7c760734d7f69f Mon Sep 17 00:00:00 2001 From: Dmitry Kostenko Date: Wed, 8 Jun 2022 23:04:06 +0200 Subject: [PATCH] Reset blend operation in 2d mode --- source/Irrlicht/COpenGLDriver.cpp | 1 + 1 file changed, 1 insertion(+) 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])