mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 04:24:52 +02:00
_glfwPlatformCreateWindow() ignored the return value of attach_opengl_context_to_window(), so when EGL is unavailable (for example libEGL cannot be loaded) it reported success with window->context left zeroed. glfwCreateWindow() then proceeded to _glfwRefreshContextAttribs() -> glfwMakeContextCurrent(), which calls the NULL context.makeCurrent pointer: kitty crashes with SIGSEGV instead of reporting "Failed to create GLFWwindow. This usually happens because of old/broken OpenGL drivers." as intended. The X11 backend already propagates these failures. Co-Authored-By: Claude <noreply@anthropic.com>
151 KiB
Vendored
151 KiB
Vendored