diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-10-18 01:31:21 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-10-17 21:01:52 -0700 |
commit | a36ee213b99113b4edb2f6f1578ab21582a0adfa (patch) | |
tree | 826ddfb13541a827897332119e10c0edc4388e78 /Userland/Libraries/LibGL/GLUtils.cpp | |
parent | b2627c8b744ebd214bc3321b8fc94f61ec90d61f (diff) | |
download | serenity-a36ee213b99113b4edb2f6f1578ab21582a0adfa.zip |
LibGL: Implement `glIsEnabled()`
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 73bad7804c..20515e9039 100644 --- a/Userland/Libraries/LibGL/GLUtils.cpp +++ b/Userland/Libraries/LibGL/GLUtils.cpp @@ -20,6 +20,11 @@ void glDisable(GLenum cap) g_gl_context->gl_disable(cap); } +GLboolean glIsEnabled(GLenum cap) +{ + return g_gl_context->gl_is_enabled(cap); +} + void glFrontFace(GLenum mode) { g_gl_context->gl_front_face(mode); |