mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Fix 2271 issue
From GTK 4.16, GDK_DEBUG is splitted into GDK_DEBUG and GDK_DISABLE
This commit is contained in:
@ -92,7 +92,8 @@ pub fn init(core_app: *CoreApp, opts: Options) !App {
|
||||
//
|
||||
// Upstream issue: https://gitlab.gnome.org/GNOME/gtk/-/issues/6589
|
||||
_ = internal_os.setenv("GDK_DEBUG", "opengl,gl-disable-gles");
|
||||
|
||||
// From gtk 4.16, GDK_DEBUG is splitted into GDK_DEBUG and GDK_DISABLE
|
||||
_ = internal_os.setenv("GDK_DISABLE", "gles-api");
|
||||
// We need to export GSK_RENDERER to opengl because GTK uses ngl by default after 4.14
|
||||
_ = internal_os.setenv("GSK_RENDERER", "opengl");
|
||||
|
||||
|
Reference in New Issue
Block a user