mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 02:08:58 +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
Notes:
sideshowbarker
2024-07-17 20:51:56 +09:00
Author: https://github.com/Lubrsi
Commit: c6a0365c58
Pull-request: https://github.com/SerenityOS/serenity/pull/11909
Reviewed-by: https://github.com/Quaker762 ✅
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