mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 08:04:25 +01:00
maxwell_3d: Initialize line widths
Initialize line widths to avoid setting a line width of zero.
This commit is contained in:
parent
31eb658fea
commit
f3f056c3b6
@ -106,6 +106,8 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user