mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
Add a compile time check for GLFW version
This commit is contained in:
parent
a7e2fa570f
commit
e9dd7f6276
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
#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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue