1
0
Fork 1
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:
ReinUsesLisp 2020-05-20 01:13:40 -03:00
parent 31eb658fea
commit f3f056c3b6

View file

@ -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;