mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
LibGL+LibGPU+LibSoftGPU: Implement GL_GENERATE_MIPMAP
We can now generate texture mipmaps on the fly if the client requests it. This fixes the missing textures in our PrBoom+ port.
This commit is contained in:
parent
dda5987684
commit
1540c56e6c
10 changed files with 148 additions and 82 deletions
|
@ -506,6 +506,7 @@ extern "C" {
|
|||
#define GL_REPEAT 0x2901
|
||||
#define GL_CLAMP_TO_BORDER 0x812D
|
||||
#define GL_CLAMP_TO_EDGE 0x812F
|
||||
#define GL_GENERATE_MIPMAP 0x8191
|
||||
#define GL_MIRRORED_REPEAT 0x8370
|
||||
#define GL_SUBTRACT 0x84E7
|
||||
#define GL_TEXTURE_FILTER_CONTROL 0x8500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue