From 1bd754882ddea4d6785879118dc032098e83e679 Mon Sep 17 00:00:00 2001 From: Stephan Unverwerth Date: Sun, 16 May 2021 16:43:09 +0200 Subject: LibGL: Implement glAlphaFunc() This implements glAlphaFunc() for setting alpha test func and ref value and also allows enabling and disabling GL_ALPHA_TEST --- Userland/Libraries/LibGL/GLContext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibGL/GLContext.h') diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h index 084c4db5da..68cfe60f29 100644 --- a/Userland/Libraries/LibGL/GLContext.h +++ b/Userland/Libraries/LibGL/GLContext.h @@ -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; }; -- cgit v1.2.3