diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-29 01:41:41 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:41 +0100 |
commit | 9e74e6988b881c6889074bd2335239eb2e491e91 (patch) | |
tree | 8e6ab83abf58154f89f9b05f06ceb7b2cecd0764 /src/video_core/engines/maxwell_3d.cpp | |
parent | video_core: Reintroduce dirty flags infrastructure (diff) | |
download | yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar.gz yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar.bz2 yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar.lz yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar.xz yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.tar.zst yuzu-9e74e6988b881c6889074bd2335239eb2e491e91.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index db710bf35..89050361e 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -76,8 +76,8 @@ void Maxwell3D::InitializeRegisterDefaults() { regs.stencil_back_mask = 0xFFFFFFFF; regs.depth_test_func = Regs::ComparisonOp::Always; - regs.cull.front_face = Regs::Cull::FrontFace::CounterClockWise; - regs.cull.cull_face = Regs::Cull::CullFace::Back; + regs.front_face = Regs::FrontFace::CounterClockWise; + regs.cull_face = Regs::CullFace::Back; // TODO(Rodrigo): Most games do not set a point size. I think this is a case of a // register carrying a default value. Assume it's OpenGL's default (1). @@ -96,7 +96,7 @@ void Maxwell3D::InitializeRegisterDefaults() { regs.rasterize_enable = 1; regs.rt_separate_frag_data = 1; regs.framebuffer_srgb = 1; - regs.cull.front_face = Maxwell3D::Regs::Cull::FrontFace::ClockWise; + regs.front_face = Maxwell3D::Regs::FrontFace::ClockWise; mme_inline[MAXWELL3D_REG_INDEX(draw.vertex_end_gl)] = true; mme_inline[MAXWELL3D_REG_INDEX(draw.vertex_begin_gl)] = true; |