From 5f863016ca82b643b98f3759469e2f0b38f83485 Mon Sep 17 00:00:00 2001 From: Stephan Unverwerth Date: Fri, 13 Aug 2021 01:06:26 +0200 Subject: LibGL: Implement glDepthMask --- Userland/Libraries/LibGL/SoftwareRasterizer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibGL/SoftwareRasterizer.h') 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 }; -- cgit v1.2.3