mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Implement the check for glfw version properly this time
This commit is contained in:
@@ -8,6 +8,10 @@
|
|||||||
#include <structmember.h>
|
#include <structmember.h>
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|
||||||
|
#if GLFW_VERSION_MAJOR < 3 || (GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR < 2)
|
||||||
|
#error "glfw >= 3.2 required"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_WINDOWS 256
|
#define MAX_WINDOWS 256
|
||||||
|
|
||||||
#define CALLBACK(name, fmt, ...) \
|
#define CALLBACK(name, fmt, ...) \
|
||||||
|
|||||||
Reference in New Issue
Block a user