mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 21:37:58 +03: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
Notes:
sideshowbarker
2024-07-17 07:16:04 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/789d871892 Pull-request: https://github.com/SerenityOS/serenity/pull/15150 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/sunverwerth ✅
@ -170,7 +170,7 @@ extern "C" {
|
||||
#define GL_FRONT_AND_BACK 0x0408
|
||||
|
||||
// Error codes
|
||||
#define GL_NO_ERROR 0x0000
|
||||
#define GL_NO_ERROR 0
|
||||
#define GL_INVALID_ENUM 0x0500
|
||||
#define GL_INVALID_VALUE 0x0501
|
||||
#define GL_INVALID_OPERATION 0x0502
|
||||
|
Loading…
Reference in New Issue
Block a user