forked from pool/prboom-plus
Enable USE_GLU_TESS
OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=4
This commit is contained in:
parent
7e6496fcc1
commit
0d59c7bc6b
26
prboom-enable-tessellation.diff
Normal file
26
prboom-enable-tessellation.diff
Normal file
@ -0,0 +1,26 @@
|
||||
Date: 2011-08-03 18:36:44+0200
|
||||
From: Jan Engelhardt <jengelh@medozas.de>
|
||||
|
||||
Always do tesselation, because otherwise, map hacks like
|
||||
self-referencing sectors (cf.
|
||||
http://doom.wikia.com/wiki/Making_a_self-referencing_sector) will not
|
||||
be rendered.
|
||||
|
||||
---
|
||||
src/gl_main.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
Index: prboom-plus-2.5.1.1/src/gl_main.c
|
||||
===================================================================
|
||||
--- prboom-plus-2.5.1.1.orig/src/gl_main.c
|
||||
+++ prboom-plus-2.5.1.1/src/gl_main.c
|
||||
@@ -83,6 +83,9 @@
|
||||
#ifdef USE_CUSTOM_QSORT
|
||||
#include "qsort.h"
|
||||
#endif
|
||||
+#ifndef USE_GLU_TESS
|
||||
+# define USE_GLU_TESS 1
|
||||
+#endif
|
||||
|
||||
int triangulate_subsectors = 0;
|
||||
// All OpenGL extentions will be disabled in gl_compatibility mode
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 3 16:38:07 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Enable missing USE_GLU_TESS for the self-referencing sector hack
|
||||
to be rendered.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 11:25:36 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
Name: prboom-plus
|
||||
Version: 2.5.1.1
|
||||
Release: 0
|
||||
@ -12,6 +11,8 @@ Patch1: prboom-nodatetime.diff
|
||||
Patch2: prboom-types1.diff
|
||||
Patch3: prboom-types2.diff
|
||||
Patch4: prboom-protos.diff
|
||||
Patch5: prboom-enable-tessellation.diff
|
||||
Source2: clean_source.sh
|
||||
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
BuildRequires: Mesa-devel, fluidsynth-devel, libSDL_image-devel
|
||||
@ -46,7 +47,7 @@ Author(s):
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -P 2 -P 3 -P 4 -p1
|
||||
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
|
||||
|
||||
%build
|
||||
./bootstrap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user