diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -314,6 +314,9 @@ main (int argc, char **argv) } else if (!strcmp (argv[i], "--indirect-rendering")) { + /* force Mesa libGL into indirect rendering mode, because + glXQueryExtensionsString is context-independant */ + setenv ("LIBGL_ALWAYS_INDIRECT", "1", True); indirectRendering = TRUE; } else if (!strcmp (argv[i], "--loose-binding")) |