mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Merge pull request #388 from raven02/patch-13
RSX: sanity check m_alpha_func
This commit is contained in:
commit
f3cbdcd59d
|
|
@ -1083,7 +1083,7 @@ void GLGSRender::ExecCMD()
|
|||
checkForGlError("glFrontFace");
|
||||
}
|
||||
|
||||
if(m_set_alpha_func && m_set_alpha_ref)
|
||||
if(m_set_alpha_func && m_set_alpha_ref && m_alpha_func)
|
||||
{
|
||||
glAlphaFunc(m_alpha_func, m_alpha_ref);
|
||||
checkForGlError("glAlphaFunc");
|
||||
|
|
|
|||
Loading…
Reference in a new issue