Skip to content

Commit

Permalink
Merge pull request #825 from pbdot/ec-issue-824
Browse files Browse the repository at this point in the history
Fix issue with alpha masked cutting off too aggressively
  • Loading branch information
pbdot authored Jan 11, 2025
2 parents 48ea538 + a8cc44b commit a3bc903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source_files/edge/render/sokol/sokol_units.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ void RenderCurrentUnits(void)
else if (unit->blending & kBlendingMasked)
{
render_state->Enable(GL_ALPHA_TEST);
render_state->AlphaFunction(GL_GREATER, 0.1);
render_state->AlphaFunction(GL_GREATER, 0.01);
}
else if (unit->blending & kBlendingGEqual)
{
Expand Down

0 comments on commit a3bc903

Please sign in to comment.