Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/prboom/files: prboom-2.5.0-nvidia-test.c prboom-2.5.0-nvidia.patch
Date: Mon, 01 Jun 2009 21:44:28
Message-Id: E1MBFIv-0000Oa-IR@stork.gentoo.org
1 mr_bones_ 09/06/01 21:44:25
2
3 Added: prboom-2.5.0-nvidia-test.c
4 prboom-2.5.0-nvidia.patch
5 Log:
6 version bump (bug #248362)
7 (Portage version: 2.1.6.11/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 games-fps/prboom/files/prboom-2.5.0-nvidia-test.c
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/prboom/files/prboom-2.5.0-nvidia-test.c?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/prboom/files/prboom-2.5.0-nvidia-test.c?rev=1.1&content-type=text/plain
14
15 Index: prboom-2.5.0-nvidia-test.c
16 ===================================================================
17 #include <SDL/SDL_opengl.h>
18 PFNGLCOLORTABLEEXTPROC glColorTableEXT;
19 int main(){return 0;}
20
21
22
23 1.1 games-fps/prboom/files/prboom-2.5.0-nvidia.patch
24
25 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/prboom/files/prboom-2.5.0-nvidia.patch?rev=1.1&view=markup
26 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/prboom/files/prboom-2.5.0-nvidia.patch?rev=1.1&content-type=text/plain
27
28 Index: prboom-2.5.0-nvidia.patch
29 ===================================================================
30 --- src/gl_intern.h.orig 2003-09-21 16:39:30.247451624 -0400
31 +++ src/gl_intern.h 2003-09-21 16:39:41.610724144 -0400
32 @@ -84,6 +84,6 @@
33 #define min(a,b) ((a)<(b)?(a):(b))
34 #endif
35
36 -PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
37 +//PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
38
39 #endif // _GL_INTERN_H
40 --- src/gl_main.c.orig 2003-09-21 16:39:55.436622288 -0400
41 +++ src/gl_main.c 2003-09-21 16:43:00.943420968 -0400
42 @@ -285,6 +285,7 @@
43
44 if (strcasecmp(extension, "GL_EXT_texture_filter_anisotropic") == 0)
45 gl_texture_filter_anisotropic = true;
46 +/*
47 else if (strcasecmp(extension, "GL_EXT_paletted_texture") == 0) {
48 if (gl_use_paletted_texture) {
49 gl_paletted_texture = true;
50 @@ -304,6 +305,7 @@
51 else
52 lprintf(LO_INFO,"using GL_EXT_shared_texture_palette\n",glGetString(GL_VENDOR));
53 }
54 +*/
55
56 extension = p;
57 } while (*extension != '\0');
58 @@ -761,7 +763,7 @@
59 pal[transparent_pal_index*4+1]=0;
60 pal[transparent_pal_index*4+2]=0;
61 pal[transparent_pal_index*4+3]=0;
62 - gld_ColorTableEXT(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
63 +// gld_ColorTableEXT(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
64 W_UnlockLumpName("PLAYPAL");
65 } else {
66 if (palette>0)
67 --- src/gl_texture.c.orig 2003-09-21 16:43:18.450759448 -0400
68 +++ src/gl_texture.c 2003-09-21 16:43:39.549551944 -0400
69 @@ -178,7 +178,7 @@
70 pal[transparent_pal_index*4+1]=0;
71 pal[transparent_pal_index*4+2]=0;
72 pal[transparent_pal_index*4+3]=0;
73 - gld_ColorTableEXT(target, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
74 +// gld_ColorTableEXT(target, GL_RGBA, 256, GL_RGBA, GL_UNSIGNED_BYTE, pal);
75 W_UnlockLumpName("PLAYPAL");
76 }