summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorRob Loach <[email protected]>2023-01-22 09:29:29 -0500
committerGitHub <[email protected]>2023-01-22 15:29:29 +0100
commit4706891cae7d7b07ab7f85aee9d858bdd11d4f42 (patch)
treed9a835ea8d1670758496b0af386b91200ee1aed1 /README.md
parentd8af76f67c54a6fa7b20c0fadff7c15ef5478945 (diff)
downloadraylib-4706891cae7d7b07ab7f85aee9d858bdd11d4f42.tar.gz
raylib-4706891cae7d7b07ab7f85aee9d858bdd11d4f42.zip
Add RAYLIB_VERSION numbers to raylib.h (#2856)
Ran into an issue in raylib-cpp where a user was using raylib 4.5-dev, even though the library currently only targets 4.2. With having RAYLIB_VERSION_MAJOR and RAYLIB_VERSION_MINOR, we will be able to target different versions of raylib in different ways, via C preprocessor conditionals. For example: ``` c newColor = ColorTint(BLUE, RED); TraceLog(LOG_INFO, "The color should be tinted, but this isn't supported in ryalib <= 4.2"); ```
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions