projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8096fc
)
Be conservative about the presence of GL_TABLE_TOO_LARGE.
author
Sven Panne
<sven.panne@aedion.de>
Wed, 5 Nov 2008 18:46:20 +0000
(18:46 +0000)
committer
Sven Panne
<sven.panne@aedion.de>
Wed, 5 Nov 2008 18:46:20 +0000
(18:46 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@755
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_misc.c
patch
|
blob
|
history
diff --git
a/src/freeglut_misc.c
b/src/freeglut_misc.c
index
06854c9
..
4aa809a
100644
(file)
--- a/
src/freeglut_misc.c
+++ b/
src/freeglut_misc.c
@@
-84,6
+84,14
@@
int FGAPIENTRY glutExtensionSupported( const char* extension )
#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
#ifdef GL_TEXTURE_TOO_LARGE_EXT
#define GL_TEXTURE_TOO_LARGE GL_TEXTURE_TOO_LARGE_EXT