summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/SoftwareGLContext.h
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-01-19 22:49:52 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-20 10:35:01 +0100
commit453f62c935a8c6b282d4a605dfd2007185d9e3d7 (patch)
treeac1a599921bb2566930a5d59c91664d02ad2f5a3 /Userland/Libraries/LibGL/SoftwareGLContext.h
parent991cbc56a28a659613ad11039ef61d968d6769bb (diff)
downloadserenity-453f62c935a8c6b282d4a605dfd2007185d9e3d7.zip
LibGL+LibSoftGPU: Implement `GL_POLYGON_OFFSET_FILL` capability
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h')
-rw-r--r--Userland/Libraries/LibGL/SoftwareGLContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.h b/Userland/Libraries/LibGL/SoftwareGLContext.h
index ce4ebd73f5..bd0b5fb579 100644
--- a/Userland/Libraries/LibGL/SoftwareGLContext.h
+++ b/Userland/Libraries/LibGL/SoftwareGLContext.h
@@ -212,7 +212,8 @@ private:
GLenum m_error = GL_NO_ERROR;
bool m_in_draw_state = false;
- bool m_depth_test_enabled = false;
+ bool m_depth_test_enabled { false };
+ bool m_depth_offset_enabled { false };
bool m_cull_faces = false;
GLenum m_front_face = GL_CCW;