diff --git a/kitty/glfw.c b/kitty/glfw.c index 7e14b515b..d77d1c41c 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -8,6 +8,10 @@ #include #include +#if GLFW_VERSION_MAJOR < 3 || (GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR < 2) +#error "glfw >= 3.2 required" +#endif + #define MAX_WINDOWS 256 #define CALLBACK(name, fmt, ...) \