From cd6d653b59e8821f376e8aca6929f8091ff032cd Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 11 May 2014 13:29:06 +0200 Subject: [PATCH] - fixed: the delayed state changer for the alpha function called glBlendFunc instead of glAlphaFunc. --- src/gl/renderer/gl_renderstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/renderer/gl_renderstate.cpp b/src/gl/renderer/gl_renderstate.cpp index 73cc5ec90..8c31e191d 100644 --- a/src/gl/renderer/gl_renderstate.cpp +++ b/src/gl/renderer/gl_renderstate.cpp @@ -285,7 +285,7 @@ void FRenderState::Apply(bool forcenoshader) { glAlphaFunc = mAlphaFunc; glAlphaThreshold = mAlphaThreshold; - ::glBlendFunc(mAlphaFunc, mAlphaThreshold); + ::glAlphaFunc(mAlphaFunc, mAlphaThreshold); } if (mAlphaTest != glAlphaTest) {