mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-01 13:40:59 +00:00
- only #define GL constant if not already present (most likely only a problem on Windows.)
This commit is contained in:
parent
0d9a96bcc8
commit
d60dfa63bc
1 changed files with 3 additions and 0 deletions
|
@ -625,7 +625,10 @@ R_BuildPalettedTexture(unsigned char *paletted_texture, unsigned char *scaled,
|
|||
}
|
||||
}
|
||||
|
||||
// Windows headers don't define this constant.
|
||||
#ifndef GL_GENERATE_MIPMAP
|
||||
#define GL_GENERATE_MIPMAP 0x8191
|
||||
#endif
|
||||
|
||||
qboolean
|
||||
R_Upload32Native(unsigned *data, int width, int height, qboolean mipmap)
|
||||
|
|
Loading…
Reference in a new issue