summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLUtils.cpp
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2021-08-17 18:38:34 +1000
committerAndreas Kling <kling@serenityos.org>2021-08-18 00:35:26 +0200
commit0b673698301fe1b95d7a8aeb0121aedfebf154c8 (patch)
treea37b19166aad1c9dbcbf01cabdfe431cded50624 /Userland/Libraries/LibGL/GLUtils.cpp
parent5d146628e12438cadd5818f990338987a009ca0c (diff)
downloadserenity-0b673698301fe1b95d7a8aeb0121aedfebf154c8.zip
LibGL: Implenent `glGetBooleanv`
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 67536bee26..aaaed19c57 100644
--- a/Userland/Libraries/LibGL/GLUtils.cpp
+++ b/Userland/Libraries/LibGL/GLUtils.cpp
@@ -95,6 +95,11 @@ void glGetFloatv(GLenum pname, GLfloat* params)
g_gl_context->gl_get_floatv(pname, params);
}
+void glGetBooleanv(GLenum pname, GLboolean* data)
+{
+ g_gl_context->gl_get_booleanv(pname, data);
+}
+
void glDepthMask(GLboolean flag)
{
g_gl_context->gl_depth_mask(flag);