1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibGL: Correct GL_MODELVIEW and GL_PROJECTION values

According to the Khronos group, GL enum values are in the spec:

https://www.khronos.org/registry/OpenGL/docs/enums.html

Not adhering to their values will cause issues with projects that ship
their own copy of `gl.h`, such as ScummVM.
This commit is contained in:
Jelle Raaijmakers 2021-10-18 01:28:56 +02:00 committed by Brian Gianforcaro
parent ca4276db77
commit abaac02c88

View file

@ -28,8 +28,8 @@ extern "C" {
#define GL_NONE 0
// Matrix Modes
#define GL_MODELVIEW 0x0050
#define GL_PROJECTION 0x0051
#define GL_MODELVIEW 0x1700
#define GL_PROJECTION 0x1701
// glBegin/glEnd primitive types
#define GL_TRIANGLES 0x0100