From ac3faa5fd4f3e7524e32330254fb75ae0d53b4f2 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 19 Sep 2017 19:10:27 +0000 Subject: [PATCH] Force enabling NVIDIA threaded optimizations. Probably only works on Linux, but the extra putenv() call doesn't hurt anyone anywhere else. git-svn-id: https://svn.eduke32.com/eduke32@6439 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/sdlayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/build/src/sdlayer.cpp b/source/build/src/sdlayer.cpp index bbe10a2b4..7f99a0754 100644 --- a/source/build/src/sdlayer.cpp +++ b/source/build/src/sdlayer.cpp @@ -437,6 +437,8 @@ int main(int argc, char *argv[]) if ((argp = Bgetenv("BUILD_NOFOG")) != NULL) nofog = Batol(argp); + + putenv("__GL_THREADED_OPTIMIZATIONS=1"); #endif buildkeytranslationtable();