summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.h
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2022-01-21 09:53:28 +1100
committerAndreas Kling <kling@serenityos.org>2022-01-26 16:44:11 +0100
commit68e50759b4b85f82b3b1a7289e97518c7437ce99 (patch)
treee18780c84cae5dc3266012a845a2e867b7137ccd /Userland/Libraries/LibGL/GLContext.h
parentf5cde1b6fb6c20de0d4d97764caff0c68d966369 (diff)
downloadserenity-68e50759b4b85f82b3b1a7289e97518c7437ce99.zip
LibGL: Implement `glGetMaterial`
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r--Userland/Libraries/LibGL/GLContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h
index 3c15c1f360..e14df5adbd 100644
--- a/Userland/Libraries/LibGL/GLContext.h
+++ b/Userland/Libraries/LibGL/GLContext.h
@@ -120,6 +120,7 @@ public:
virtual void gl_materialfv(GLenum face, GLenum pname, GLfloat const* params) = 0;
virtual void gl_color_material(GLenum face, GLenum mode) = 0;
virtual void gl_get_light(GLenum light, GLenum pname, void* params, GLenum type) = 0;
+ virtual void gl_get_material(GLenum face, GLenum pname, void* params, GLenum type) = 0;
virtual void present() = 0;
};