- Drop prboom-enable-tessellation.diff, this is enabled

automatically when pkgconfig(GLU) is available (which we have).

OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2022-02-19 16:22:59 +00:00 committed by Git OBS Bridge
parent f348a4f46b
commit d4af35c9b0
3 changed files with 6 additions and 31 deletions

View File

@ -1,30 +0,0 @@
From 6f50776b2c6365671fe53bdfc4bc9ffa622f1e06 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 3 Aug 2011 18:36:44 +0200
Subject: [PATCH 1/4] Unconditionally enable GL tesselation
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.
---
prboom2/src/gl_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git prboom2/src/gl_main.c prboom2/src/gl_main.c
index 20712b7e..8fbceb4f 100644
--- prboom2/src/gl_main.c
+++ prboom2/src/gl_main.c
@@ -36,6 +36,9 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#ifndef USE_GLU_TESS
+# define USE_GLU_TESS 1
+#endif
#include "gl_opengl.h"
--
2.30.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 19 16:19:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Drop prboom-enable-tessellation.diff, this is enabled
automatically when pkgconfig(GLU) is available (which we have).
-------------------------------------------------------------------
Sun Feb 13 11:30:29 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,7 +27,6 @@ URL: http://prboom-plus.sf.net/
#Git-Clone: https://github.com/coelckers/prboom-plus
Source: https://github.com/coelckers/prboom-plus/archive/refs/tags/v%version.tar.gz
Patch1: prboom-nodatetime.diff
Patch2: prboom-enable-tessellation.diff
Patch3: prboom-hbar-all.diff
Patch4: prboom-hbar-gradient.diff
BuildRequires: Mesa-devel