mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 12:34:44 +02:00
Downgrade OpenGL version requirement to 3.1
There are only a few features required from newer versions, and they can be achieved via extensions. This significantly improves compatibility.
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
#include "banned.h"
|
||||
// Required minimum OpenGL version
|
||||
#define OPENGL_REQUIRED_VERSION_MAJOR 3
|
||||
#define OPENGL_REQUIRED_VERSION_MINOR 3
|
||||
#define OPENGL_REQUIRED_VERSION_MINOR 1
|
||||
#define GLSL_VERSION 140
|
||||
#define GLFW_MOD_KITTY (GLFW_MOD_LAST * 2)
|
||||
#define UNUSED __attribute__ ((unused))
|
||||
#define PYNOARG PyObject *__a1 UNUSED, PyObject *__a2 UNUSED
|
||||
|
||||
Reference in New Issue
Block a user