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
commit 4f69022c32
Notes: sideshowbarker 2024-07-17 18:06:52 +09:00

View file

@ -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