Implement the check for glfw version properly this time
This commit is contained in:
parent
b3e2f9c9f6
commit
fb19c81245
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@
|
|||
#include <structmember.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 CALLBACK(name, fmt, ...) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue