mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibGL: Implement gl_tex_parameterfv
This is the vectorized version of `gl_tex_parameter`, which sets the parameters of a texture's sampler. We currently only support one single pname, `GL_TEXTURE_BORDER_COLOR`, which sets the border color of a texel for if it is sampled outside of a mip-map's range.
This commit is contained in:
parent
c509e0c73c
commit
85985e2cf4
3 changed files with 31 additions and 0 deletions
|
@ -451,6 +451,7 @@ extern "C" {
|
|||
#define GL_REFLECTION_MAP 0x8512
|
||||
|
||||
// Texture gen parameters
|
||||
#define GL_TEXTURE_BORDER_COLOR 0x1004
|
||||
#define GL_TEXTURE_GEN_MODE 0x2500
|
||||
#define GL_OBJECT_PLANE 0x2501
|
||||
#define GL_EYE_PLANE 0x2502
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue