Be conservative about the presence of GL_TABLE_TOO_LARGE.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@755 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
0828d834f8
commit
095be1d2de
@ -84,6 +84,14 @@ int FGAPIENTRY glutExtensionSupported( const char* extension )
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_TABLE_TOO_LARGE
|
||||||
|
#ifdef GL_TABLE_TOO_LARGE_EXT
|
||||||
|
#define GL_TABLE_TOO_LARGE GL_TABLE_TOO_LARGE_EXT
|
||||||
|
#else
|
||||||
|
#define GL_TABLE_TOO_LARGE 0x8031
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_TEXTURE_TOO_LARGE
|
#ifndef GL_TEXTURE_TOO_LARGE
|
||||||
#ifdef GL_TEXTURE_TOO_LARGE_EXT
|
#ifdef GL_TEXTURE_TOO_LARGE_EXT
|
||||||
#define GL_TEXTURE_TOO_LARGE GL_TEXTURE_TOO_LARGE_EXT
|
#define GL_TEXTURE_TOO_LARGE GL_TEXTURE_TOO_LARGE_EXT
|
||||||
|
Reference in New Issue
Block a user