summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GL
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@gmx.de>2021-05-24 15:24:49 +0200
committerLinus Groh <mail@linusgroh.de>2021-05-24 19:03:25 +0100
commit24e74750d5c31c510bc42b3295f3f618026e57bb (patch)
tree623695fd25263d0329204866d090b75140ca5b2a /Userland/Libraries/LibGL/GL
parent0c6f0192857265fd0c94cba165a28a448c1ba18b (diff)
downloadserenity-24e74750d5c31c510bc42b3295f3f618026e57bb.zip
LibGL: Implement glReadBuffer()
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h
index 46408e70f6..b00383a57e 100644
--- a/Userland/Libraries/LibGL/GL/gl.h
+++ b/Userland/Libraries/LibGL/GL/gl.h
@@ -73,9 +73,15 @@ extern "C" {
#define GL_ONE_MINUS_DST_COLOR 0x0307
#define GL_SRC_ALPHA_SATURATE 0x0308
-// Culled face side
+// Sides
+#define GL_FRONT_LEFT 0x0400
+#define GL_FRONT_RIGHT 0x0401
+#define GL_BACK_LEFT 0x0402
+#define GL_BACK_RIGHT 0x0403
#define GL_FRONT 0x0404
#define GL_BACK 0x0405
+#define GL_LEFT 0x0406
+#define GL_RIGHT 0x0407
#define GL_FRONT_AND_BACK 0x0408
// Error codes
@@ -204,6 +210,7 @@ GLAPI void glBlendFunc(GLenum sfactor, GLenum dfactor);
GLAPI void glShadeModel(GLenum mode);
GLAPI void glAlphaFunc(GLenum func, GLclampf ref);
GLAPI void glHint(GLenum target, GLenum mode);
+GLAPI void glReadBuffer(GLenum mode);
#ifdef __cplusplus
}