summaryrefslogtreecommitdiff
path: root/games/bzflag/patches/patch-al
blob: b9a58b7ebe476355df667057266d8e1bb42ea313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-al,v 1.1.1.1 2002/09/24 12:49:13 blymn Exp $

--- src/bzflag/bzflag.cxx.orig	Sun Sep 22 22:45:49 2002
+++ src/bzflag/bzflag.cxx
@@ -473,14 +473,14 @@ static void		parse(int argc, char** argv
       resources.addValue("window", "");
     }
     else if (strcmp(argv[i], "-3dfx") == 0 || strcmp(argv[i], "-3Dfx") == 0) {
-#if !defined(__linux__)
+#if !defined(__linux__) && !defined(__NetBSD__)
       putenv("MESA_GLX_FX=fullscreen");
 #else
       setenv("MESA_GLX_FX", "fullscreen", 1);
 #endif
     }
     else if (strcmp(argv[i], "-no3dfx") == 0 || strcmp(argv[i], "-no3Dfx") == 0) {
-#if !defined(__linux__)
+#if !defined(__linux__) && !defined(__NetBSD__)
       putenv("MESA_GLX_FX=");
 #else
       unsetenv("MESA_GLX_FX");