diff options
author | Jesse Buhagiar <jooster669@gmail.com> | 2021-08-17 18:38:34 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 00:35:26 +0200 |
commit | 0b673698301fe1b95d7a8aeb0121aedfebf154c8 (patch) | |
tree | a37b19166aad1c9dbcbf01cabdfe431cded50624 /Userland/Libraries/LibGL/GLUtils.cpp | |
parent | 5d146628e12438cadd5818f990338987a009ca0c (diff) | |
download | serenity-0b673698301fe1b95d7a8aeb0121aedfebf154c8.zip |
LibGL: Implenent `glGetBooleanv`
Diffstat (limited to 'Userland/Libraries/LibGL/GLUtils.cpp')
-rw-r--r-- | Userland/Libraries/LibGL/GLUtils.cpp | 5 |
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); |