summaryrefslogtreecommitdiff
path: root/x11-clocks/glclock/files/patch-GLextensions.H
blob: 41081cd4a32b4a376511ebc6c825929271ab6620 (plain) (blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
--- GLextensions.H.orig	2000-06-22 14:36:07 UTC
+++ GLextensions.H
@@ -12,6 +12,7 @@
 #pragma warning(disable : 4051)     // ALPHA
 #endif
 
+#define GL_GLEXT_PROTOTYPES
 
 #include <GL/gl.h>
 #include <GL/glut.h>
@@ -202,7 +203,7 @@ float GetOpenGLVersion() ;
 
 
 // multitexture �򥵥ݡ��Ȥ���С�������̤���
-#ifdef  GL_VERSION_1_
+#if 1
 #define GL_VERSION_multitexture
 #endif
 #define GL_VERSION_multitexture_F		9999.9f
@@ -232,13 +233,13 @@ float GetOpenGLVersion() ;
 #define GL_VERSION_polygon_offset_F		1.1f
 
 // texture_cube_map �򥵥ݡ��Ȥ���С�������̤���
-#ifdef  GL_VERSION_1_
+#if 1
 #define GL_VERSION_texture_cube_map
 #endif
 #define GL_VERSION_texture_cube_map_F	9999.9f
 
 // texture_compression �򥵥ݡ��Ȥ���С�������̤���
-#ifdef  GL_VERSION_1_
+#if 1
 #define GL_VERSION_texture_compression
 #endif
 #define GL_VERSION_texture_compression_F	9999.9f
@@ -592,6 +593,8 @@ char *IsSupported_multitexture(int flag_
 
 #endif	// #ifndef GL_ARB_texture_cube_map
 
+#define GL_EXT_texture_cube_map
+
 // EXT_texture_cube_map
 #ifndef GL_EXT_texture_cube_map
 #define GL_EXT_texture_cube_map
@@ -688,6 +691,8 @@ char *IsSupported_texture_compression_En
 #define GL_COMPRESSED_RGBA_S3TC_DXT5		((GLenum)0x83F3)
 #endif	// #ifndef GL_VERSION_texture_compression_s3tc
 
+#define GL_EXT_texture_compression_s3tc
+
 #ifndef GL_EXT_texture_compression_s3tc
 #define GL_EXT_texture_compression_s3tc