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:
parent
ca4276db77
commit
abaac02c88
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue