summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.h
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2022-03-10 00:11:35 +1100
committerAndreas Kling <kling@serenityos.org>2022-04-09 11:40:33 +0200
commit6e9ea2f21f6407db4e9327062dacec92c1573870 (patch)
tree7761d301831e8de08d6deb60ff8d44efa06118f6 /Userland/Libraries/LibGL/GLContext.h
parent85985e2cf4cb24002409589f2a593f7230e54fb6 (diff)
downloadserenity-6e9ea2f21f6407db4e9327062dacec92c1573870.zip
LibGL: Implement `glArrayElement`
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 1afba6bd73..47c575479f 100644
--- a/Userland/Libraries/LibGL/GLContext.h
+++ b/Userland/Libraries/LibGL/GLContext.h
@@ -158,6 +158,7 @@ public:
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 gl_array_element(GLint i);
void present();
private:
@@ -400,7 +401,8 @@ private:
decltype(&GLContext::gl_materialiv),
decltype(&GLContext::gl_color_material),
decltype(&GLContext::gl_get_light),
- decltype(&GLContext::gl_clip_plane)>;
+ decltype(&GLContext::gl_clip_plane),
+ decltype(&GLContext::gl_array_element)>;
using ExtraSavedArguments = Variant<
FloatMatrix4x4>;