mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibGL: Define GL_NO_ERROR
as 0
This conforms to the Khronos enum value listing and prevents a redefinition warning when compiling with SDL_opengl.
This commit is contained in:
parent
6d8dd0ee61
commit
789d871892
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ extern "C" {
|
||||||
#define GL_FRONT_AND_BACK 0x0408
|
#define GL_FRONT_AND_BACK 0x0408
|
||||||
|
|
||||||
// Error codes
|
// Error codes
|
||||||
#define GL_NO_ERROR 0x0000
|
#define GL_NO_ERROR 0
|
||||||
#define GL_INVALID_ENUM 0x0500
|
#define GL_INVALID_ENUM 0x0500
|
||||||
#define GL_INVALID_VALUE 0x0501
|
#define GL_INVALID_VALUE 0x0501
|
||||||
#define GL_INVALID_OPERATION 0x0502
|
#define GL_INVALID_OPERATION 0x0502
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue