Moved defined into GLDefines header to avoid compile issues under Windows
This commit is contained in:
parent
bf6aaed5e0
commit
5ad1a652a0
@ -646,6 +646,19 @@ typedef char GLchar;
|
||||
#define GL_MAX_3D_TEXTURE_SIZE 0x8073
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_MIN_LOD
|
||||
#define GL_TEXTURE_MIN_LOD 0x813A
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_MAX_LOD
|
||||
#define GL_TEXTURE_MAX_LOD 0x813B
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_LOD_BIAS
|
||||
#define GL_TEXTURE_LOD_BIAS 0x8501
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef GL_INTERLEAVED_ATTRIBS
|
||||
#define GL_INTERLEAVED_ATTRIBS 0x8C8C
|
||||
#endif
|
||||
|
@ -15,13 +15,6 @@
|
||||
#include <osg/Sampler>
|
||||
#include <osg/Texture3D>
|
||||
|
||||
#ifndef GL_TEXTURE_MIN_LOD
|
||||
#define GL_TEXTURE_MIN_LOD 0x813A
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_MAX_LOD
|
||||
#define GL_TEXTURE_MAX_LOD 0x813B
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_WRAP_R
|
||||
#define GL_TEXTURE_WRAP_R 0x2804
|
||||
@ -35,10 +28,6 @@
|
||||
#define GL_TEXTURE_COMPARE_FUNC 0x884D
|
||||
#endif
|
||||
|
||||
#ifndef GL_TEXTURE_LOD_BIAS
|
||||
#define GL_TEXTURE_LOD_BIAS 0x8501
|
||||
#endif
|
||||
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user