LibGL: Fix incorrect GL_DECAL constant value
The constant value for GL_DECAL is 0x2101 instead of 0x2102. This was tripping up Half-Life when making the water texture transparent when under water. The Half-Life port uses its own OpenGL header, meaning this error wasn't hidden by us.
This commit is contained in:
parent
5b2c973cc3
commit
483ab7fe26
Notes:
sideshowbarker
2024-07-17 20:32:22 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/483ab7fe265 Pull-request: https://github.com/SerenityOS/serenity/pull/12043
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ extern "C" {
|
|||
// Texture Environment and Parameters
|
||||
#define GL_MODULATE 0x2100
|
||||
#define GL_TEXTURE_ENV_MODE 0x2200
|
||||
#define GL_DECAL 0x2102
|
||||
#define GL_DECAL 0x2101
|
||||
#define GL_TEXTURE_ENV 0x2300
|
||||
#define GL_NEAREST 0x2600
|
||||
#define GL_LINEAR 0x2601
|
||||
|
|
Loading…
Add table
Reference in a new issue