mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +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:
parent
f08411ba3f
commit
4f69022c32
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue