mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
gtk: default to opengl debugging only on debug builds
This commit is contained in:
@ -1975,14 +1975,9 @@ keybind: Keybinds = .{},
|
|||||||
/// must always be able to move themselves into an isolated cgroup.
|
/// must always be able to move themselves into an isolated cgroup.
|
||||||
@"linux-cgroup-hard-fail": bool = false,
|
@"linux-cgroup-hard-fail": bool = false,
|
||||||
|
|
||||||
/// Enable or disable GTK's OpenGL debugging logs. The default depends on the
|
/// Enable or disable GTK's OpenGL debugging logs. The default is `true` for
|
||||||
/// optimization level that Ghostty was built with:
|
/// debug builds, `false` for all others.
|
||||||
///
|
@"gtk-opengl-debug": bool = builtin.mode == .Debug,
|
||||||
/// - `Debug`: `true`
|
|
||||||
/// - `ReleaseSafe`: `true`
|
|
||||||
/// - `ReleaseSmall`: `true`
|
|
||||||
/// - `ReleaseFast`: `false`
|
|
||||||
@"gtk-opengl-debug": bool = build_config.slow_runtime_safety,
|
|
||||||
|
|
||||||
/// After GTK 4.14.0, we need to force the GSK renderer to OpenGL as the default
|
/// After GTK 4.14.0, we need to force the GSK renderer to OpenGL as the default
|
||||||
/// GSK renderer is broken on some systems. If you would like to override
|
/// GSK renderer is broken on some systems. If you would like to override
|
||||||
|
Reference in New Issue
Block a user