From d0300e5f43c183bbdb446ed893581fbb850b306c Mon Sep 17 00:00:00 2001 From: elisha464 Date: Thu, 27 Feb 2014 19:47:08 +0200 Subject: [PATCH] fix alpha test --- rpcs3/Emu/GS/GL/GLGSRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/GS/GL/GLGSRender.cpp b/rpcs3/Emu/GS/GL/GLGSRender.cpp index 880b8a5eb5..f940a4edf3 100644 --- a/rpcs3/Emu/GS/GL/GLGSRender.cpp +++ b/rpcs3/Emu/GS/GL/GLGSRender.cpp @@ -1013,7 +1013,7 @@ void GLGSRender::ExecCMD() if(m_set_alpha_func && m_set_alpha_ref) { - glAlphaFunc(m_alpha_func, m_alpha_ref); + glAlphaFunc(m_alpha_func, m_alpha_ref/255.0f); checkForGlError("glAlphaFunc"); }