diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2021-08-16 17:52:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 20:30:58 +0200 |
commit | a97dbd2317227101927b41d2574d455249e95d7b (patch) | |
tree | 97f634d05d6eeaac9390e042ecc37856911338c4 /Userland/Libraries/LibGL/SoftwareRasterizer.h | |
parent | 3dd9efd35f87866a107e49d74bd7af50ed92f0ce (diff) | |
download | serenity-a97dbd2317227101927b41d2574d455249e95d7b.zip |
LibGL: Implement glDepthRange
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareRasterizer.h')
-rw-r--r-- | Userland/Libraries/LibGL/SoftwareRasterizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareRasterizer.h b/Userland/Libraries/LibGL/SoftwareRasterizer.h index d830dcac70..cb5255c7e8 100644 --- a/Userland/Libraries/LibGL/SoftwareRasterizer.h +++ b/Userland/Libraries/LibGL/SoftwareRasterizer.h @@ -29,6 +29,8 @@ struct RasterizerOptions { GLenum blend_source_factor { GL_ONE }; GLenum blend_destination_factor { GL_ONE }; u32 color_mask { 0xffffffff }; + float depth_min { 0 }; + float depth_max { 1 }; }; class SoftwareRasterizer final { |