1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

LibGL: Implement glDepthMask

This commit is contained in:
Stephan Unverwerth 2021-08-13 01:06:26 +02:00 committed by Andreas Kling
parent 010e344a8e
commit 5f863016ca
7 changed files with 26 additions and 2 deletions

View file

@ -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 };