Cleanup previous PR getting kitty working on macOS

Do not reduce the required OpenGL version on macOS. There is no point
anyway.

Fixes #2790
This commit is contained in:
Kovid Goyal
2023-02-10 11:02:08 +05:30
parent a09dda27dc
commit 2307892b50
2 changed files with 6 additions and 0 deletions

View File

@@ -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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -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))