Closed GuvaCode closed 1 week ago
IsTextureReady()
was renamed to IsTextureValid()
in latest raylib.
@raysan5 oh tnx
@raysan5, thank you for your help and for pointing out this change!
@GuvaCode, thank you for testing it out. When raylib
updates its version macros (RAYLIB_VERSION_MAJOR
and RAYLIB_VERSION_MINOR
), I will provide a proper compatibility fix that works for all versions.
In the meantime (if you haven’t already done so), you can add the following #define
statements at the beginning of your raymedia.h
file. This will alias the new function names to their legacy equivalents, maintaining compatibility:
#define IsImageReady IsImageValid
#define IsTextureReady IsTextureValid
#define IsAudioStreamReady IsAudioStreamValid
#define IsModelReady IsModelValid
#define IsRenderTextureReady IsRenderTextureValid
Hi. I get errors when compiling
Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble