diff --git a/docs/changelog.rst b/docs/changelog.rst index 2faae59df..5311dc73c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -48,6 +48,8 @@ Detailed list of changes - Input Method Extensions: Fix incorrect rendering of IME in-progress text in some situations (:pull:`6002`) +- Linux: Reduce minimum required OpenGL version from 3.3 to 3.1 + extensions (:iss:`2790`) + 0.27.1 [2023-02-07] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/data-types.h b/kitty/data-types.h index 23bdd8b33..fb9b2e5f2 100644 --- a/kitty/data-types.h +++ b/kitty/data-types.h @@ -18,7 +18,11 @@ #include "banned.h" // Required minimum OpenGL version #define OPENGL_REQUIRED_VERSION_MAJOR 3 +#ifdef __APPLE__ +#define OPENGL_REQUIRED_VERSION_MINOR 3 +#else #define OPENGL_REQUIRED_VERSION_MINOR 1 +#endif #define GLSL_VERSION 140 #define GLFW_MOD_KITTY (GLFW_MOD_LAST * 2) #define UNUSED __attribute__ ((unused))