diff options
Diffstat (limited to 'glfw/glfw.h')
-rw-r--r-- | glfw/glfw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glfw/glfw.h b/glfw/glfw.h index f5fa479..7b435c0 100644 --- a/glfw/glfw.h +++ b/glfw/glfw.h @@ -1,2 +1,6 @@ #include <GLFW/glfw3.h> +#if GLFW_VERSION_MAJOR != 3 +#error "Unsupported major version of GLFW. Must be 3" +#endif + |