mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
import the GL_ARB_texture_cube_map defines
This commit is contained in:
parent
205933bf7c
commit
d63cde4103
2 changed files with 16 additions and 2 deletions
|
@ -126,6 +126,22 @@
|
|||
# define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
|
||||
#endif
|
||||
|
||||
#ifndef GL_ARB_texture_cube_map
|
||||
# define GL_ARB_texture_cube_map
|
||||
# define GL_NORMAL_MAP_ARB 0x8511
|
||||
# define GL_REFLECTION_MAP_ARB 0x8512
|
||||
# define GL_TEXTURE_CUBE_MAP_ARB 0x8513
|
||||
# define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
|
||||
# define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
|
||||
# define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
|
||||
# define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
|
||||
# define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
|
||||
# define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
|
||||
# define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
|
||||
# define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
|
||||
# define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
|
||||
#endif
|
||||
|
||||
/* Standard OpenGL external function defs */
|
||||
typedef void (GLAPIENTRY *QF_glBlendColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
||||
typedef void (GLAPIENTRY *QF_glBlendEquation) (GLenum mode);
|
||||
|
|
|
@ -66,8 +66,6 @@ static __attribute__ ((unused)) const char rcsid[] =
|
|||
#include "r_local.h"
|
||||
#include "view.h"
|
||||
|
||||
#include "GL/gl.h"
|
||||
|
||||
entity_t r_worldentity;
|
||||
|
||||
qboolean r_cache_thrash; // compatability
|
||||
|
|
Loading…
Reference in a new issue