From 87acd7fef6a56858011b14cd25e271ca2bc4ce72 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 10 Nov 2019 12:12:15 +0100 Subject: [PATCH] - fixed blend mode for the 2D drawer. --- source/glbackend/hw_draw2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/glbackend/hw_draw2d.cpp b/source/glbackend/hw_draw2d.cpp index a1db153df..9db00635a 100644 --- a/source/glbackend/hw_draw2d.cpp +++ b/source/glbackend/hw_draw2d.cpp @@ -95,6 +95,7 @@ void GLInstance::Draw2D(F2DDrawer *drawer) EnableMultisampling(false); EnableBlend(true); EnableAlphaTest(true); + SetBlendFunc(STYLEALPHA_Src, STYLEALPHA_InvSrc); auto &vertices = drawer->mVertices; auto &indices = drawer->mIndices;