From e7cc654bb4728357e5ad9a70c9cc3eab2d64d3bb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 20 Jul 2018 09:36:42 +0530 Subject: [PATCH] Make error message when creating glfw window fails a little more useful --- kitty/glfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/glfw.c b/kitty/glfw.c index 42f70f32c..3fa0a6448 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -420,7 +420,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) { #endif GLFWwindow *temp_window = glfwCreateWindow(640, 480, "temp", NULL, common_context); - if (temp_window == NULL) { fatal("Failed to create GLFW temp window!"); } + if (temp_window == NULL) { fatal("Failed to create GLFW temp window! This usually happens because of old/broken OpenGL drivers. kitty requires working OpenGL 3.3 drivers."); } double dpi_x, dpi_y; get_window_dpi(temp_window, &dpi_x, &dpi_y);