Add a compile time check for GLFW version
This commit is contained in:
parent
a7e2fa570f
commit
e9dd7f6276
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if GLFW_CONTEXT_VERSION_MAJOR < 3 || (GLFW_CONTEXT_VERSION_MAJOR == 3 && GLFW_CONTEXT_VERSION_MINOR < 2)
|
||||||
|
#error "glfw >= 3.2 is required"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
bool init_glfw(PyObject *m);
|
bool init_glfw(PyObject *m);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user