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

LibGL: Implement glArrayElement

This commit is contained in:
Jesse Buhagiar 2022-03-10 00:11:35 +11:00 committed by Andreas Kling
parent 85985e2cf4
commit 6e9ea2f21f
4 changed files with 44 additions and 1 deletions

View file

@ -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>;