Merge pull request #243 from RobLoach/error-on-raylib-4.6

Error out when on raylib >4.5
This commit is contained in:
Rob Loach
2023-07-07 16:01:01 -04:00
committed by GitHub

View File

@@ -18,6 +18,10 @@ extern "C" {
#error "raylib-cpp requires at least raylib 4.5.0"
#endif
#if RAYLIB_VERSION_MINOR > 5
#error "raylib-cpp targets raylib 4.5. Use the `next` branch for the next version of raylib."
#endif
#ifdef __cplusplus
}
#endif