1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

LibGL: Implement glAlphaFunc()

This implements glAlphaFunc() for setting alpha test func and ref value
and also allows enabling and disabling GL_ALPHA_TEST
This commit is contained in:
Stephan Unverwerth 2021-05-16 16:43:09 +02:00 committed by Andreas Kling
parent b8b8b4b566
commit 1bd754882d
6 changed files with 68 additions and 2 deletions

View file

@ -51,6 +51,7 @@ public:
virtual void gl_finish() = 0;
virtual void gl_blend_func(GLenum src_factor, GLenum dst_factor) = 0;
virtual void gl_shade_model(GLenum mode) = 0;
virtual void gl_alpha_func(GLenum func, GLclampf ref) = 0;
virtual void present() = 0;
};