summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-07-23 07:15:38 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-07-23 07:15:38 +0000
commitdc97b95e576d34844c282afc813072c66df6e089 (patch)
treeb5d2da8694365b9ed89d0d964a5a3c329b196fee
parentUpdate the stable DRI port to X.Org 6.7.0-release's DRI modules. Note that (diff)
replace patch-r_part.c with the vendor-version
PR: 69272 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
Notes
Notes: svn path=/head/; revision=114470
-rw-r--r--games/fuhquake/files/patch-r_part.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/games/fuhquake/files/patch-r_part.c b/games/fuhquake/files/patch-r_part.c
index 62257d2a90fc..d42eef1f6875 100644
--- a/games/fuhquake/files/patch-r_part.c
+++ b/games/fuhquake/files/patch-r_part.c
@@ -1,20 +1,11 @@
---- r_part.c.orig Wed Feb 4 23:15:44 2004
-+++ r_part.c Wed Feb 4 23:32:01 2004
-@@ -60,6 +60,17 @@
+--- r_part.c.orig Wed Jan 7 00:39:44 2004
++++ r_part.c Mon Jul 19 11:54:15 2004
+@@ -58,7 +58,7 @@
- #if !id386
+ vec3_t r_pright, r_pup, r_ppn;
+
+-#if !id386
++#if !defined(id386) && !defined(GLQUAKE)
-+#define PARTICLE_Z_CLIP 8.0
-+float xcenter, ycenter;
-+int d_vrectx, d_vrecty, d_vrectright_particle, d_vrectbottom_particle;
-+short *d_pzbuffer;
-+unsigned int d_zwidth;
-+pixel_t *d_viewbuffer;
-+#define MAXHEIGHT 1024
-+int d_scantable[MAXHEIGHT];
-+int d_y_aspect_shift, d_pix_min, d_pix_max, d_pix_shift;
-+int screenwidth;
-+
void D_DrawParticle (particle_t *pparticle) {
vec3_t local, transformed;
- float zi;