diff options
author | Jesse Buhagiar <jooster669@gmail.com> | 2021-08-17 18:58:21 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 00:35:26 +0200 |
commit | 8ad42e67712966e0531696da4def97c4b9efa07e (patch) | |
tree | a8d39b96dda620ecc4ed7d570f889b66fce51775 /Userland/Libraries/LibGL/GLUtils.cpp | |
parent | 0b673698301fe1b95d7a8aeb0121aedfebf154c8 (diff) | |
download | serenity-8ad42e67712966e0531696da4def97c4b9efa07e.zip |
LibGL: Implement `glGetIntegerv`
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 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); |