forked from suyu/suyu
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue