mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibGL+LibSoftGPU: Add support for 8-bit luminance (+ alpha) textures
Used by Half-Life for single colour textures. The alpha variant is especially used for UI textures.
This commit is contained in:
parent
6e37487477
commit
c6a0365c58
3 changed files with 43 additions and 1 deletions
|
@ -239,7 +239,9 @@ extern "C" {
|
|||
#define GL_RGB 0x1907
|
||||
#define GL_RGBA 0x1908
|
||||
#define GL_LUMINANCE 0x1909
|
||||
#define GL_LUMINANCE8 0x8040
|
||||
#define GL_LUMINANCE_ALPHA 0x190A
|
||||
#define GL_LUMINANCE8_ALPHA8 0x8045
|
||||
#define GL_BGR 0x190B
|
||||
#define GL_BGRA 0x190C
|
||||
#define GL_BITMAP 0x1A00
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue