mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +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)
|
||||
{
|
||||
//glFrontFace(m_front_face); // glFrontFace : OpenGL error 0x0500
|
||||
checkForGlError("glFrontFace");
|
||||
// Sanity check . Disgaea 3 return 0x1d0 here and cause openGL 0x0500
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue