mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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);
|
||||
EnableBlend(true);
|
||||
EnableAlphaTest(true);
|
||||
SetBlendFunc(STYLEALPHA_Src, STYLEALPHA_InvSrc);
|
||||
|
||||
auto &vertices = drawer->mVertices;
|
||||
auto &indices = drawer->mIndices;
|
||||
|
|
Loading…
Reference in a new issue