summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-01 22:11:56 +0200
committerGitHub <noreply@github.com>2020-06-01 22:11:56 +0200
commitbb6d93630f8785a94de624a30334251ccbac0b65 (patch)
tree914ab192be87e28c0599c41dc5f5526a09e4dea0 /src
parentMerge pull request #4005 from ReinUsesLisp/g24r8 (diff)
parentmaxwell_3d: Initialize line widths (diff)
downloadyuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar.gz
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar.bz2
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar.lz
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar.xz
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.tar.zst
yuzu-bb6d93630f8785a94de624a30334251ccbac0b65.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 004f6b261..13ef2e42d 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -106,7 +106,11 @@ void Maxwell3D::InitializeRegisterDefaults() {
regs.rasterize_enable = 1;
regs.rt_separate_frag_data = 1;
regs.framebuffer_srgb = 1;
+ regs.line_width_aliased = 1.0f;
+ regs.line_width_smooth = 1.0f;
regs.front_face = Maxwell3D::Regs::FrontFace::ClockWise;
+ regs.polygon_mode_back = Maxwell3D::Regs::PolygonMode::Fill;
+ regs.polygon_mode_front = Maxwell3D::Regs::PolygonMode::Fill;
shadow_state = regs;