mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-19 20:18:07 +00:00
Since the refactor to move our OpenGL context off-thread there is no more GLAD context loaded on the main thread for this widget, so calling ANY OpenGL function will crash the entire app. I don't think the call even worked as intended? I at least can't seem to tell any difference when the clear commands are simply removed. Maybe they were useful before.
5 lines
155 B
GLSL
5 lines
155 B
GLSL
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
vec2 uv = fragCoord / iResolution.xy;
|
|
fragColor = vec4(texture(iChannel0, uv).rgb, 1.0);
|
|
}
|