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

LibGL: Add stub glClipPlane

This commit is contained in:
Jesse Buhagiar 2022-03-09 22:27:02 +11:00 committed by Andreas Kling
parent c9f44c746a
commit b928fdc3ee
4 changed files with 27 additions and 1 deletions

View file

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