mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
- fixed blend mode for the 2D drawer.
This commit is contained in:
parent
55018aae7e
commit
87acd7fef6
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ void GLInstance::Draw2D(F2DDrawer *drawer)
|
||||||
EnableMultisampling(false);
|
EnableMultisampling(false);
|
||||||
EnableBlend(true);
|
EnableBlend(true);
|
||||||
EnableAlphaTest(true);
|
EnableAlphaTest(true);
|
||||||
|
SetBlendFunc(STYLEALPHA_Src, STYLEALPHA_InvSrc);
|
||||||
|
|
||||||
auto &vertices = drawer->mVertices;
|
auto &vertices = drawer->mVertices;
|
||||||
auto &indices = drawer->mIndices;
|
auto &indices = drawer->mIndices;
|
||||||
|
|
Loading…
Reference in a new issue