]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/main.cpp
macos: process the texture browser redraw as soon as possible when workarounding...
[xonotic/netradiant.git] / radiant / main.cpp
index 27d9b8af117a0d8ebdd85b88652da7923dfea611..83dc58f9d0a63616fb2b35c1039576282b2a65fa 100644 (file)
@@ -64,8 +64,6 @@
 #include "main.h"
 #include "globaldefs.h"
 
-#include "version.h"
-
 #include "debugging/debugging.h"
 
 #include "iundo.h"
@@ -505,6 +503,10 @@ void user_shortcuts_save(){
 }
 
 int main( int argc, char* argv[] ){
+#if GTK_TARGET == 3
+       // HACK: force legacy GL backend as we don't support GL3 yet
+       setenv("GDK_GL", "LEGACY", 0);
+#endif
        crt_init();
 
        streams_init();