Implement the check for glfw version properly this time

This commit is contained in:
Kovid Goyal
2017-01-07 21:52:33 +05:30
parent b3e2f9c9f6
commit fb19c81245

View File

@@ -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, ...) \