From 2307892b5019f6a45078910d254a3f626527d818 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 10 Feb 2023 11:02:08 +0530 Subject: [PATCH] Cleanup previous PR getting kitty working on macOS Do not reduce the required OpenGL version on macOS. There is no point anyway. Fixes #2790 --- docs/changelog.rst | 2 ++ kitty/data-types.h | 4 ++++ 2 files changed, 6 insertions(+) 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))