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

LibGL: Implement glMateriali{v}

This commit is contained in:
Jesse Buhagiar 2022-01-24 18:20:46 +11:00 committed by Andreas Kling
parent 170739fe39
commit 371d49c0f6
5 changed files with 62 additions and 0 deletions

View file

@ -150,6 +150,7 @@ public:
virtual void gl_lightiv(GLenum light, GLenum pname, GLint const* params) override;
virtual void gl_materialf(GLenum face, GLenum pname, GLfloat param) override;
virtual void gl_materialfv(GLenum face, GLenum pname, GLfloat const* params) override;
virtual void gl_materialiv(GLenum face, GLenum pname, GLint const* params) override;
virtual void gl_color_material(GLenum face, GLenum mode) override;
virtual void gl_get_light(GLenum light, GLenum pname, void* params, GLenum type) override;
virtual void gl_get_material(GLenum face, GLenum pname, void* params, GLenum type) override;
@ -378,6 +379,7 @@ private:
decltype(&SoftwareGLContext::gl_lightiv),
decltype(&SoftwareGLContext::gl_materialf),
decltype(&SoftwareGLContext::gl_materialfv),
decltype(&SoftwareGLContext::gl_materialiv),
decltype(&SoftwareGLContext::gl_color_material),
decltype(&SoftwareGLContext::gl_get_light)>;