summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GL
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/GL
parent0b673698301fe1b95d7a8aeb0121aedfebf154c8 (diff)
downloadserenity-8ad42e67712966e0531696da4def97c4b9efa07e.zip
LibGL: Implement `glGetIntegerv`
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h
index d3679291ca..605f1578d0 100644
--- a/Userland/Libraries/LibGL/GL/gl.h
+++ b/Userland/Libraries/LibGL/GL/gl.h
@@ -64,6 +64,8 @@ extern "C" {
// Alpha blending
#define GL_BLEND 0x0BE2
+#define GL_BLEND_SRC_ALPHA 0x0302
+#define GL_BLEND_DST_ALPHA 0x0304
// Utility
#define GL_VENDOR 0x1F00
@@ -358,6 +360,7 @@ GLAPI void glBindTexture(GLenum target, GLuint texture);
GLAPI void glActiveTexture(GLenum texture);
GLAPI void glGetFloatv(GLenum pname, GLfloat* params);
GLAPI void glGetBooleanv(GLenum pname, GLboolean* data);
+GLAPI void glGetIntegerv(GLenum pname, GLint* data);
GLAPI void glDepthMask(GLboolean flag);
GLAPI void glEnableClientState(GLenum cap);
GLAPI void glDisableClientState(GLenum cap);