mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
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
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
Add a link
Reference in a new issue