forked from suyu/suyu
Merge pull request #1008 from yuzu-emu/revert-697-disable-depth-cull
Revert "gl_state: Temporarily disable culling and depth test."
This commit is contained in:
commit
6313d54cef
1 changed files with 1 additions and 3 deletions
|
@ -812,9 +812,7 @@ void RasterizerOpenGL::SyncClipCoef() {
|
||||||
void RasterizerOpenGL::SyncCullMode() {
|
void RasterizerOpenGL::SyncCullMode() {
|
||||||
const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
|
const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
|
||||||
|
|
||||||
// TODO(bunnei): Enable the below once more things work - until then, this may hide regressions
|
state.cull.enabled = regs.cull.enabled != 0;
|
||||||
// state.cull.enabled = regs.cull.enabled != 0;
|
|
||||||
state.cull.enabled = false;
|
|
||||||
|
|
||||||
if (state.cull.enabled) {
|
if (state.cull.enabled) {
|
||||||
state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);
|
state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);
|
||||||
|
|
Loading…
Reference in a new issue