mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-02 22:30:39 +00:00
Re-enable glFrontFace with sanity check
This commit is contained in:
parent
3445f8a49f
commit
94393ff4ea
1 changed files with 6 additions and 2 deletions
|
@ -1037,8 +1037,12 @@ void GLGSRender::ExecCMD()
|
||||||
|
|
||||||
if (m_set_front_face)
|
if (m_set_front_face)
|
||||||
{
|
{
|
||||||
//glFrontFace(m_front_face); // glFrontFace : OpenGL error 0x0500
|
// Sanity check . Disgaea 3 return 0x1d0 here and cause openGL 0x0500
|
||||||
checkForGlError("glFrontFace");
|
if (m_front_face == GL_CW || m_front_face == GL_CCW)
|
||||||
|
{
|
||||||
|
glFrontFace(m_front_face);
|
||||||
|
checkForGlError("glFrontFace");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_set_alpha_func && m_set_alpha_ref)
|
if(m_set_alpha_func && m_set_alpha_ref)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue