summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-09-01 13:29:13 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-03 00:07:24 +0200
commit4f69022c32c51d237c6504a06426cdd53f8ef860 (patch)
tree61ee20df49006b8295962d1ee281b6e93d5999fc /Userland/Libraries
parentf08411ba3f696793a86848ef1c30d4933e63db3f (diff)
downloadserenity-4f69022c32c51d237c6504a06426cdd53f8ef860.zip
LibGL: Correct `GL_BLEND_*_ALPHA` constant values
They were plain wrong; while we're here, also add the `*_EXT` variants.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h
index c15c077dfa..0358133e1c 100644
--- a/Userland/Libraries/LibGL/GL/gl.h
+++ b/Userland/Libraries/LibGL/GL/gl.h
@@ -79,8 +79,10 @@ extern "C" {
// Alpha blending
#define GL_BLEND 0x0BE2
-#define GL_BLEND_SRC_ALPHA 0x0302
-#define GL_BLEND_DST_ALPHA 0x0304
+#define GL_BLEND_SRC_ALPHA 0x80CB
+#define GL_BLEND_SRC_ALPHA_EXT 0x80CB
+#define GL_BLEND_DST_ALPHA 0x80CA
+#define GL_BLEND_DST_ALPHA_EXT 0x80CA
// Attribute enum
#define GL_EVAL_BIT 0x00010000