mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Remove call to glAlphaFunc as alpha testing is never enabled.
This commit is contained in:
@@ -516,8 +516,6 @@ Font *Graphics::getFont()
|
|||||||
|
|
||||||
void Graphics::setBlendMode(Graphics::BlendMode mode)
|
void Graphics::setBlendMode(Graphics::BlendMode mode)
|
||||||
{
|
{
|
||||||
glAlphaFunc(GL_GEQUAL, 0);
|
|
||||||
|
|
||||||
if (GLEE_VERSION_1_4 || GLEE_ARB_imaging)
|
if (GLEE_VERSION_1_4 || GLEE_ARB_imaging)
|
||||||
{
|
{
|
||||||
if (mode == BLEND_SUBTRACTIVE)
|
if (mode == BLEND_SUBTRACTIVE)
|
||||||
|
|||||||
Reference in New Issue
Block a user