From 8433b0f6f7414a040b25b34515d75b907c584321 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 7 Apr 2022 10:58:31 +0200 Subject: Force disable threaded gl optimization to reduce cpu usage (thread optimization doesn't improve performance here so its useless) --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 52cb374..f0dca82 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,6 +3,7 @@ #include int main(int argc, char **argv) { + setenv("__GL_THREADED_OPTIMIZATIONS", "0", 1); XInitThreads(); setlocale(LC_ALL, "C"); // Sigh... stupid C QuickMedia::Program program; -- cgit v1.2.3