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
This commit is contained in:
terminx 2017-09-19 19:10:27 +00:00
parent 29fc836bb1
commit ac3faa5fd4

View file

@ -437,6 +437,8 @@ int main(int argc, char *argv[])
if ((argp = Bgetenv("BUILD_NOFOG")) != NULL) if ((argp = Bgetenv("BUILD_NOFOG")) != NULL)
nofog = Batol(argp); nofog = Batol(argp);
putenv("__GL_THREADED_OPTIMIZATIONS=1");
#endif #endif
buildkeytranslationtable(); buildkeytranslationtable();