summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLUtils.cpp
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2021-08-17 18:58:21 +1000
committerAndreas Kling <kling@serenityos.org>2021-08-18 00:35:26 +0200
commit8ad42e67712966e0531696da4def97c4b9efa07e (patch)
treea8d39b96dda620ecc4ed7d570f889b66fce51775 /Userland/Libraries/LibGL/GLUtils.cpp
parent0b673698301fe1b95d7a8aeb0121aedfebf154c8 (diff)
downloadserenity-8ad42e67712966e0531696da4def97c4b9efa07e.zip
LibGL: Implement `glGetIntegerv`
Diffstat (limited to 'Userland/Libraries/LibGL/GLUtils.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLUtils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLUtils.cpp b/Userland/Libraries/LibGL/GLUtils.cpp
index aaaed19c57..95f2b68cc6 100644
--- a/Userland/Libraries/LibGL/GLUtils.cpp
+++ b/Userland/Libraries/LibGL/GLUtils.cpp
@@ -100,6 +100,11 @@ void glGetBooleanv(GLenum pname, GLboolean* data)
g_gl_context->gl_get_booleanv(pname, data);
}
+void glGetIntegerv(GLenum pname, GLint* data)
+{
+ g_gl_context->gl_get_integerv(pname, data);
+}
+
void glDepthMask(GLboolean flag)
{
g_gl_context->gl_depth_mask(flag);