Reset blend operation in 2d mode

This commit is contained in:
Dmitry Kostenko 2022-06-08 23:04:06 +02:00 committed by sfan5
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])