summaryrefslogtreecommitdiff
blob: c602c784c13f84b0a458017bacdaf38d17bdad40 (plain)
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
--- a/src/gl_intern.h.orig	2003-09-21 16:39:30.247451624 -0400
+++ b/src/gl_intern.h	2003-09-21 16:39:41.610724144 -0400
@@ -84,6 +84,6 @@
 #define min(a,b) ((a)<(b)?(a):(b))
 #endif
 
-PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
+//PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
 
 #endif // _GL_INTERN_H
--- a/src/gl_main.c.orig	2003-09-21 16:39:55.436622288 -0400
+++ b/src/gl_main.c	2003-09-21 16:43:00.943420968 -0400
@@ -285,6 +285,7 @@
 
     if (strcasecmp(extension, "GL_EXT_texture_filter_anisotropic") == 0)
       gl_texture_filter_anisotropic = true;
+/*
     else if (strcasecmp(extension, "GL_EXT_paletted_texture") == 0) {
       if (gl_use_paletted_texture) {
         gl_paletted_texture = true;
@@ -304,6 +305,7 @@
 	else
           lprintf(LO_INFO,"using GL_EXT_shared_texture_palette\n",glGetString(GL_VENDOR));
       }
+*/
 
     extension = p;
   } while (*extension != '\0');
@@ -761,7 +763,7 @@
     pal[transparent_pal_index*4+1]=0;
     pal[transparent_pal_index*4+2]=0;
     pal[transparent_pal_index*4+3]=0;
-    gld_ColorTableEXT(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
+//    gld_ColorTableEXT(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
     W_UnlockLumpName("PLAYPAL");
   } else {
     if (palette>0)
--- a/src/gl_texture.c.orig	2003-09-21 16:43:18.450759448 -0400
+++ b/src/gl_texture.c	2003-09-21 16:43:39.549551944 -0400
@@ -178,7 +178,7 @@
   pal[transparent_pal_index*4+1]=0;
   pal[transparent_pal_index*4+2]=0;
   pal[transparent_pal_index*4+3]=0;
-  gld_ColorTableEXT(target, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
+//  gld_ColorTableEXT(target, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
   W_UnlockLumpName("PLAYPAL");
 }