diff options
author | Jesse Buhagiar <jooster669@gmail.com> | 2022-01-24 18:20:46 +1100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-26 16:44:11 +0100 |
commit | 371d49c0f6d9927ac1a1729a63714a66eb4ea51e (patch) | |
tree | 68a9a06277ec5fc8e4d5abc180d8267d1925a520 /Userland/Libraries/LibGL/SoftwareGLContext.h | |
parent | 170739fe3905ed40603bd08af436fa31ef56cdbc (diff) | |
download | serenity-371d49c0f6d9927ac1a1729a63714a66eb4ea51e.zip |
LibGL: Implement `glMateriali{v}`
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h')
-rw-r--r-- | Userland/Libraries/LibGL/SoftwareGLContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.h b/Userland/Libraries/LibGL/SoftwareGLContext.h index 0f58554d9a..ae7bc6981e 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.h +++ b/Userland/Libraries/LibGL/SoftwareGLContext.h @@ -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)>; |