1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/sdlquake2/files/patch-qgl.h
Alejandro Pulver 0eaf5b215b - Add games/sdlquake2.
Basically this is a combination of R1Q2 and R1GL with SDL code from
Quake2Forge. Meaning it's R1Q2 protocol 35 compatible Linux client. Tested on
Debian Sarge. Both client and dedicated server.

WWW: http://koti.mbnet.fi/~turol/sdlquake2/
2006-05-05 17:42:08 +00:00

21 lines
434 B
C

--- ./qgl.h.orig Thu May 19 17:56:13 2005
+++ ./qgl.h Sun Feb 26 11:23:56 2006
@@ -31,7 +31,7 @@
#include <GL/gl.h>
#include "glext.h"
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
//#include <GL/fxmesa.h>
#include <GL/glx.h>
#endif
@@ -436,7 +436,7 @@
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
// local function in dll
extern void *qwglGetProcAddress(char *symbol);