mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGL: Implement glDepthMask
This commit is contained in:
parent
010e344a8e
commit
5f863016ca
Notes:
sideshowbarker
2024-07-18 06:58:03 +09:00
Author: https://github.com/sunverwerth
Commit: 5f863016ca
Pull-request: https://github.com/SerenityOS/serenity/pull/9382
Reviewed-by: https://github.com/alimpfard
7 changed files with 26 additions and 2 deletions
|
@ -73,6 +73,7 @@ public:
|
|||
virtual void gl_bind_texture(GLenum target, GLuint texture) override;
|
||||
virtual void gl_active_texture(GLenum texture) override;
|
||||
virtual void gl_get_floatv(GLenum pname, GLfloat* params) override;
|
||||
virtual void gl_depth_mask(GLboolean flag) override;
|
||||
|
||||
virtual void present() override;
|
||||
|
||||
|
@ -196,7 +197,8 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_alpha_func),
|
||||
decltype(&SoftwareGLContext::gl_hint),
|
||||
decltype(&SoftwareGLContext::gl_read_buffer),
|
||||
decltype(&SoftwareGLContext::gl_tex_parameter)>;
|
||||
decltype(&SoftwareGLContext::gl_tex_parameter),
|
||||
decltype(&SoftwareGLContext::gl_depth_mask)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue