diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2021-08-13 01:06:26 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-14 12:49:29 +0200 |
commit | 5f863016ca82b643b98f3759469e2f0b38f83485 (patch) | |
tree | dccefaac37faba76ebc8e0ba114ccf02a8f409ab /Userland/Libraries/LibGL/SoftwareRasterizer.h | |
parent | 010e344a8ea3958c0032bc80cf132dd52873a512 (diff) | |
download | serenity-5f863016ca82b643b98f3759469e2f0b38f83485.zip |
LibGL: Implement glDepthMask
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareRasterizer.h')
-rw-r--r-- | Userland/Libraries/LibGL/SoftwareRasterizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareRasterizer.h b/Userland/Libraries/LibGL/SoftwareRasterizer.h index 19f7ce1c84..6d4d15f2cf 100644 --- a/Userland/Libraries/LibGL/SoftwareRasterizer.h +++ b/Userland/Libraries/LibGL/SoftwareRasterizer.h @@ -21,6 +21,7 @@ namespace GL { struct RasterizerOptions { bool shade_smooth { true }; bool enable_depth_test { false }; + bool enable_depth_write { true }; bool enable_alpha_test { false }; GLenum alpha_test_func { GL_ALWAYS }; float alpha_test_ref_value { 0 }; |