- fixed blend mode for the 2D drawer.

This commit is contained in:
Christoph Oelckers 2019-11-10 12:12:15 +01:00
parent 55018aae7e
commit 87acd7fef6

View file

@ -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;