mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
gl_state: Temporarily disable culling and depth test.
This commit is contained in:
parent
90ce935f3d
commit
cf30c4be22
@ -795,7 +795,9 @@ 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;
|
||||||
|
|
||||||
state.cull.enabled = regs.cull.enabled != 0;
|
// 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 = 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 New Issue
Block a user