forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0.1.5-gldefs.patch
33 lines (30 loc) · 1.04 KB
/
0.1.5-gldefs.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/src/glbind.c 2003-07-30 00:18:37.000000000 -0400
+++ b/src/glbind.c 2003-07-30 00:19:32.000000000 -0400
@@ -22,6 +22,8 @@
#include <unistd.h>
#include <GL/gl.h>
#include <GL/glut.h>
+#undef GL_EXT_texture_object
+#include <GL/glext.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
--- a/src/glhash.h 2003-07-30 00:20:32.000000000 -0400
+++ b/src/glhash.h 2003-07-30 00:20:58.000000000 -0400
@@ -1,4 +1,5 @@
/* this file is generated automaticaly from GL/gl.h */
+#undef GL_EXT_paletted_texture
#include <GL/gl.h>
glWordList glwordlist[] = {
@@ -632,13 +632,11 @@
#ifdef GL_SGIS_multitexture
{"selected_texture_sgis", GL_SELECTED_TEXTURE_SGIS},
- {"selected_texture_coord_set_sgis", GL_SELECTED_TEXTURE_COORD_SET_SGIS},
{"max_textures_sgis", GL_MAX_TEXTURES_SGIS},
{"texture0_sgis", GL_TEXTURE0_SGIS},
{"texture1_sgis", GL_TEXTURE1_SGIS},
{"texture2_sgis", GL_TEXTURE2_SGIS},
{"texture3_sgis", GL_TEXTURE3_SGIS},
- {"texture_coord_set_source_sgis", GL_TEXTURE_COORD_SET_SOURCE_SGIS},
#endif
#ifdef GL_EXT_multitexture