From e5c4f7f43cd83ad1cc28c056647545acbc4ea7e3 Mon Sep 17 00:00:00 2001 From: Marc Lepage Date: Tue, 17 Jul 2012 21:33:16 -0400 Subject: [PATCH] Remove call to glAlphaFunc as alpha testing is never enabled. --- src/modules/graphics/opengl/Graphics.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index a0a71de33..70b55c7d7 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -516,8 +516,6 @@ Font *Graphics::getFont() void Graphics::setBlendMode(Graphics::BlendMode mode) { - glAlphaFunc(GL_GEQUAL, 0); - if (GLEE_VERSION_1_4 || GLEE_ARB_imaging) { if (mode == BLEND_SUBTRACTIVE)