From db244da1011e13d075e31600a15445ff8bef9522 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 17 Nov 2023 17:02:37 -0800 Subject: [PATCH] config: note custom-shader requires opengl 4.2 on linux --- src/config/Config.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 563b9627f..0deada505 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -606,6 +606,9 @@ keybind: Keybinds = .{}, /// causing the window to be completely black. If this happens, you can /// unset this configuration to disable the shader. /// +/// On Linux, this requires OpenGL 4.2. Ghostty typically only requires +/// OpenGL 3.3, but custom shaders push that requirement up to 4.2. +/// /// The shader API is identical to the ShaderToy API: you specify a `mainImage` /// function and the available uniforms match ShaderToy. The iChannel0 uniform /// is a texture containing the rendered terminal screen.