From: Antoine Fontaine Date: Sun, 21 Mar 2021 00:58:56 +0000 (+0100) Subject: Force legacy GDK backend for GTK3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bdf4441b87c8167dc3316a3a761cf9c15208de90;p=xonotic%2Fnetradiant.git Force legacy GDK backend for GTK3 --- diff --git a/radiant/main.cpp b/radiant/main.cpp index dad69f5c..83dc58f9 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -503,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();