1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:17:36 +00:00

LibGL: Correct GL_BLEND_*_ALPHA constant values

They were plain wrong; while we're here, also add the `*_EXT` variants.
This commit is contained in:
Jelle Raaijmakers 2022-09-01 13:29:13 +02:00 committed by Andreas Kling
parent f08411ba3f
commit 4f69022c32

View file

@ -79,8 +79,10 @@ extern "C" {
// Alpha blending // Alpha blending
#define GL_BLEND 0x0BE2 #define GL_BLEND 0x0BE2
#define GL_BLEND_SRC_ALPHA 0x0302 #define GL_BLEND_SRC_ALPHA 0x80CB
#define GL_BLEND_DST_ALPHA 0x0304 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
#define GL_BLEND_DST_ALPHA 0x80CA
#define GL_BLEND_DST_ALPHA_EXT 0x80CA
// Attribute enum // Attribute enum
#define GL_EVAL_BIT 0x00010000 #define GL_EVAL_BIT 0x00010000