summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/prboom/files/2.2.3-nvidia.patch')
-rw-r--r--games-fps/prboom/files/2.2.3-nvidia.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-fps/prboom/files/2.2.3-nvidia.patch b/games-fps/prboom/files/2.2.3-nvidia.patch
new file mode 100644
index 000000000000..1fe78112b26a
--- /dev/null
+++ b/games-fps/prboom/files/2.2.3-nvidia.patch
@@ -0,0 +1,28 @@
+--- src/gl_main.c.orig 2002-07-27 12:34:42.000000000 -0400
++++ src/gl_main.c 2003-06-28 01:10:25.000000000 -0400
+@@ -273,6 +273,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;
+@@ -286,7 +287,7 @@
+ glColorTableEXT = SDL_GL_GetProcAddress("glColorTableEXT");
+ lprintf(LO_INFO,"using GL_EXT_shared_texture_palette\n",glGetString(GL_VENDOR));
+ }
+-
++*/
+ extension = p;
+ } while (*extension != '\0');
+
+--- src/gl_intern.h.orig 2003-06-28 01:13:38.000000000 -0400
++++ src/gl_intern.h 2003-06-28 01:13:43.000000000 -0400
+@@ -114,5 +114,5 @@
+ #define min(a,b) ((a)<(b)?(a):(b))
+ #endif
+
+-PFNGLCOLORTABLEEXTPROC glColorTableEXT;
++//PFNGLCOLORTABLEEXTPROC glColorTableEXT;
+ #endif // _GL_INTERN_H