Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
D3D/OGL: Add a TODO noting that we don't support GX_CULL_ALL, most no…
…tably required for accurate zfreeze emulation.
  • Loading branch information
neobrain committed Dec 30, 2013
1 parent 3aa0a63 commit de16b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/D3D/Src/Render.cpp
Expand Up @@ -1167,6 +1167,7 @@ void Renderer::SetGenerationMode()
};

// rastdc.FrontCounterClockwise must be false for this to work
// TODO: GX_CULL_ALL not supported, yet!
gx_state.rastdc.CullMode = d3dCullModes[bpmem.genMode.cullmode];
}

Expand Down
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/OGL/Src/Render.cpp
Expand Up @@ -1673,6 +1673,7 @@ void Renderer::SetGenerationMode()
// none, ccw, cw, ccw
if (bpmem.genMode.cullmode > 0)
{
// TODO: GX_CULL_ALL not supported, yet!
glEnable(GL_CULL_FACE);
glFrontFace(bpmem.genMode.cullmode == 2 ? GL_CCW : GL_CW);
}
Expand Down

0 comments on commit de16b72

Please sign in to comment.