mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibGL: Add all glPushAttrib
bit flags
This is required to build the `sdl12-compat` port when it's using our header files to compile.
This commit is contained in:
parent
3f6f3a90c1
commit
5cff59557e
Notes:
sideshowbarker
2024-07-16 23:17:55 +09:00
Author: https://github.com/gmta
Commit: 5cff59557e
Pull-request: https://github.com/SerenityOS/serenity/pull/23293
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/timschumi ✅
1 changed files with 21 additions and 1 deletions
|
@ -85,8 +85,28 @@ extern "C" {
|
||||||
#define GL_BLEND_DST_ALPHA 0x80CA
|
#define GL_BLEND_DST_ALPHA 0x80CA
|
||||||
#define GL_BLEND_DST_ALPHA_EXT 0x80CA
|
#define GL_BLEND_DST_ALPHA_EXT 0x80CA
|
||||||
|
|
||||||
// Attribute enum
|
// Attribute bit flags
|
||||||
|
#define GL_CURRENT_BIT 0x00000001
|
||||||
|
#define GL_POINT_BIT 0x00000002
|
||||||
|
#define GL_LINE_BIT 0x00000004
|
||||||
|
#define GL_POLYGON_BIT 0x00000008
|
||||||
|
#define GL_POLYGON_STIPPLE_BIT 0x00000010
|
||||||
|
#define GL_PIXEL_MODE_BIT 0x00000020
|
||||||
|
#define GL_LIGHTING_BIT 0x00000040
|
||||||
|
#define GL_FOG_BIT 0x00000080
|
||||||
|
#define GL_DEPTH_BUFFER_BIT 0x00000100
|
||||||
|
#define GL_ACCUM_BUFFER_BIT 0x00000200
|
||||||
|
#define GL_STENCIL_BUFFER_BIT 0x00000400
|
||||||
|
#define GL_VIEWPORT_BIT 0x00000800
|
||||||
|
#define GL_TRANSFORM_BIT 0x00001000
|
||||||
|
#define GL_ENABLE_BIT 0x00002000
|
||||||
|
#define GL_COLOR_BUFFER_BIT 0x00004000
|
||||||
|
#define GL_HINT_BIT 0x00008000
|
||||||
#define GL_EVAL_BIT 0x00010000
|
#define GL_EVAL_BIT 0x00010000
|
||||||
|
#define GL_LIST_BIT 0x00020000
|
||||||
|
#define GL_TEXTURE_BIT 0x00020000
|
||||||
|
#define GL_SCISSOR_BIT 0x00080000
|
||||||
|
#define GL_MULTISAMPLE_BIT 0x20000000
|
||||||
#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF
|
#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF
|
||||||
|
|
||||||
// Utility
|
// Utility
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue