Skip to content

Commit

Permalink
LibSoftGPU: Set obvious FP values for depth_min/max
Browse files Browse the repository at this point in the history
  • Loading branch information
gmta authored and awesomekling committed Dec 30, 2021
1 parent e4080ae commit fd4d6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Userland/Libraries/LibSoftGPU/Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ struct RasterizerOptions {
BlendFactor blend_source_factor { BlendFactor::One };
BlendFactor blend_destination_factor { BlendFactor::One };
u32 color_mask { 0xffffffff };
float depth_min { 0 };
float depth_max { 1 };
float depth_min { 0.f };
float depth_max { 1.f };
DepthTestFunction depth_func { DepthTestFunction::Less };
PolygonMode polygon_mode { PolygonMode::Fill };
FloatVector4 fog_color { 0.0f, 0.0f, 0.0f, 0.0f };
Expand Down

0 comments on commit fd4d6b0

Please sign in to comment.