Compare commits

...

1 Commits

Author SHA1 Message Date
z0z0z
637f8f9f1c Fix Linux 2019-05-11 15:36:01 -04:00

View File

@@ -2129,6 +2129,11 @@ int main(int argc, char* argv[]) {
// generating shaders
setlocale(LC_ALL, "C");
// Environment variables
#ifdef __linux__
setenv("MESA_GL_VERSION_OVERRIDE", "4.5COMPAT", 0);
#endif
GMainWindow main_window;
// After settings have been loaded by GMainWindow, apply the filter
main_window.show();