summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-01-17 18:10:05 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-20 10:35:01 +0100
commit29dc17b7b9f89ecc4608a46a17d7d4ba06bf2ebe (patch)
tree4b39f9532730909af20c385b01c663d24d8d1825
parent9a28ef7aa939e3d939258c8f282ae295bb7607da (diff)
downloadserenity-29dc17b7b9f89ecc4608a46a17d7d4ba06bf2ebe.zip
LibGL: Correct values for `GL_BGR` and `GL_BGRA`
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h
index a025c9136e..14e001ec5e 100644
--- a/Userland/Libraries/LibGL/GL/gl.h
+++ b/Userland/Libraries/LibGL/GL/gl.h
@@ -243,8 +243,8 @@ extern "C" {
#define GL_LUMINANCE8 0x8040
#define GL_LUMINANCE_ALPHA 0x190A
#define GL_LUMINANCE8_ALPHA8 0x8045
-#define GL_BGR 0x190B
-#define GL_BGRA 0x190C
+#define GL_BGR 0x80E0
+#define GL_BGRA 0x80E1
#define GL_BITMAP 0x1A00
#define GL_LUMINANCE8 0x8040