ports/games/quake2lnx/files/patch-src_linux_rw__linux.c
Edwin Groothuis 8175bdc56a [UPDATE] games/quake2lnx: integrate with "quake2-data"
Changes:
	* Integrate with "quake2-data".
	* Add OPTIONS (21).
	* Clean-up (sort knobs alphabetically, etc.).
	* Automatically extract Rogue and Xatrix mission packs.
	* Remove ARCH from library names (gamei386.so -> game.so).
	  Also increases portability (the library name was manually
	  defined between #ifdefs checking the architecture, and a
	  #error at the end).
	* Change patch names (using "_" instead of "::"), and also some patches.

PR:		ports/87181
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	maintainer timeout
2005-11-17 10:51:28 +00:00

13 lines
294 B
C

--- src/linux/rw_linux.c.orig Sun Jan 2 09:46:35 2005
+++ src/linux/rw_linux.c Wed Mar 9 17:40:28 2005
@@ -31,6 +31,10 @@
static int mouse_buttonstate;
static int mouse_oldbuttonstate;
+#ifdef OPENGL
+static cvar_t *use_stencil;
+#endif
+
in_state_t *getState() {
return in_state;
}