1
Fork 0
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:
Jelle Raaijmakers 2022-01-20 01:05:02 +01:00 committed by Andreas Kling
parent c846ed0a2c
commit 16255d161e

View file

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