freebsd-ports/games/d2x-xl/files/patch-include-ogl_defs.h
Dmitry Marakasov bf0afd0d77 D2X-XL is a community modified version of Icculus's D2X port,
the original Unix port of Descent by Parallax software.  It
contains many bug fixes and improvements since Icculus stopped
working on D2X.

You need to own the orignal game or download demo data
files.

WWW: http://www.descent2.de/

PR:		132086
Submitted by:	Aragon Gouveia <aragon at phat dot za dot net>
2009-03-04 12:16:29 +00:00

11 lines
411 B
C

--- include/ogl_defs.h.orig 2008-10-09 09:34:21.000000000 +0400
+++ include/ogl_defs.h 2009-02-26 23:25:34.000000000 +0300
@@ -220,7 +220,7 @@
#else //GL_VERSION_20
-# ifdef __macosx__
+# if defined(__macosx__) || defined(__FreeBSD__)
# define glCreateShaderObject glCreateShaderObjectARB
# define glShaderSource glShaderSourceARB
# define glCompileShader glCompileShaderARB