1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:57:46 +00:00

LibGL: Implement texture unit texturing states

This commit is contained in:
Jelle Raaijmakers 2021-11-29 20:57:27 +01:00 committed by Andreas Kling
parent c7b90fa7d3
commit 5788a139d8
5 changed files with 67 additions and 4 deletions

View file

@ -188,7 +188,10 @@ extern "C" {
#define GL_REPLACE 0x1E01
// Texture targets
#define GL_TEXTURE_1D 0x0DE0
#define GL_TEXTURE_2D 0x0DE1
#define GL_TEXTURE_3D 0x806F
#define GL_TEXTURE_CUBE_MAP 0x8513
// Texture Unit indices
#define GL_TEXTURE0 0x84C0