mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
LibGL: Use 4 hex characters for error code constants in gl.h
This commit is contained in:
parent
c846ed0a2c
commit
16255d161e
1 changed files with 6 additions and 6 deletions
|
@ -165,14 +165,14 @@ extern "C" {
|
||||||
#define GL_FRONT_AND_BACK 0x0408
|
#define GL_FRONT_AND_BACK 0x0408
|
||||||
|
|
||||||
// Error codes
|
// Error codes
|
||||||
#define GL_NO_ERROR 0
|
#define GL_NO_ERROR 0x0000
|
||||||
#define GL_INVALID_ENUM 0x500
|
#define GL_INVALID_ENUM 0x0500
|
||||||
#define GL_INVALID_VALUE 0x501
|
#define GL_INVALID_VALUE 0x0501
|
||||||
#define GL_INVALID_OPERATION 0x502
|
#define GL_INVALID_OPERATION 0x0502
|
||||||
#define GL_STACK_OVERFLOW 0x0503
|
#define GL_STACK_OVERFLOW 0x0503
|
||||||
#define GL_STACK_UNDERFLOW 0x0504
|
#define GL_STACK_UNDERFLOW 0x0504
|
||||||
#define GL_OUT_OF_MEMORY 0x505
|
#define GL_OUT_OF_MEMORY 0x0505
|
||||||
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x506
|
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
|
||||||
|
|
||||||
// Triangle winding order
|
// Triangle winding order
|
||||||
#define GL_CW 0x0900
|
#define GL_CW 0x0900
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue