mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 18:25:45 +00:00
maxwell_3d: Initialize line widths
Initialize line widths to avoid setting a line width of zero.
This commit is contained in:
parent
2dba4bc34f
commit
de665d6485
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…
Add table
Add a link
Reference in a new issue