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:
parent
b8b8b4b566
commit
1bd754882d
6 changed files with 68 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue