Miscellaneous

mi_api_version_check
miBoolean mi_api_version_check(
    char              *version,
    int               mode)

Verify that the version string version is acceptable. The version string is a dotted sequence of either up to four numbers, such as 3.9.1.0. If less than four numbers are specified, the remainder is assumed to be zero. If mode is 0, raylib's version must be version or greater; if mode is 1, raylib's version must be version or less. This can be used to ensure that a scene matches the renderer, for example to specify that at least raylib 3.6 is required because the scene uses a 3.6 feature such as named frame buffers.

Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.