summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.h
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2022-03-09 22:27:02 +1100
committerAndreas Kling <kling@serenityos.org>2022-04-09 11:40:33 +0200
commitb928fdc3ee40e0394e7fd1cfadcf1fdf13c301ae (patch)
tree80cec036ff9f3ead5f0d5a1828fee661b2bcc396 /Userland/Libraries/LibGL/GLContext.h
parentc9f44c746a13389ed57881ffcbc22e03b98017eb (diff)
downloadserenity-b928fdc3ee40e0394e7fd1cfadcf1fdf13c301ae.zip
LibGL: Add stub `glClipPlane`
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r--Userland/Libraries/LibGL/GLContext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h
index 20ebfb9de4..964040b5ee 100644
--- a/Userland/Libraries/LibGL/GLContext.h
+++ b/Userland/Libraries/LibGL/GLContext.h
@@ -156,6 +156,7 @@ public:
void gl_color_material(GLenum face, GLenum mode);
void gl_get_light(GLenum light, GLenum pname, void* params, GLenum type);
void gl_get_material(GLenum face, GLenum pname, void* params, GLenum type);
+ void gl_clip_plane(GLenum plane, GLdouble const* equation);
void present();
private:
@@ -396,7 +397,8 @@ private:
decltype(&GLContext::gl_materialfv),
decltype(&GLContext::gl_materialiv),
decltype(&GLContext::gl_color_material),
- decltype(&GLContext::gl_get_light)>;
+ decltype(&GLContext::gl_get_light),
+ decltype(&GLContext::gl_clip_plane)>;
using ExtraSavedArguments = Variant<
FloatMatrix4x4>;