summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/SoftwareRasterizer.h
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@serenityos.org>2021-08-16 17:52:12 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-18 20:30:58 +0200
commita97dbd2317227101927b41d2574d455249e95d7b (patch)
tree97f634d05d6eeaac9390e042ecc37856911338c4 /Userland/Libraries/LibGL/SoftwareRasterizer.h
parent3dd9efd35f87866a107e49d74bd7af50ed92f0ce (diff)
downloadserenity-a97dbd2317227101927b41d2574d455249e95d7b.zip
LibGL: Implement glDepthRange
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareRasterizer.h')
-rw-r--r--Userland/Libraries/LibGL/SoftwareRasterizer.h2
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 {