mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-18 02:11:28 +00:00
Sanity check m_alpha_func
This commit is contained in:
parent
e29a1ddef7
commit
8b9a454e2f
@ -1083,7 +1083,7 @@ void GLGSRender::ExecCMD()
|
|||||||
checkForGlError("glFrontFace");
|
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);
|
glAlphaFunc(m_alpha_func, m_alpha_ref);
|
||||||
checkForGlError("glAlphaFunc");
|
checkForGlError("glAlphaFunc");
|
||||||
|
Loading…
Reference in New Issue
Block a user