diff options
| author | ubkp <[email protected]> | 2023-12-28 19:15:04 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-28 23:15:04 +0100 |
| commit | fd5e1e6afb69ef190e74ac780ec3718d36e2d7d1 (patch) | |
| tree | 6db25013772b6455a74f34721eaeea11ce13ae98 /src/raylib.h | |
| parent | 5b5a2d035d61554b0032c3aa7b524a0cb0c52160 (diff) | |
| download | raylib-fd5e1e6afb69ef190e74ac780ec3718d36e2d7d1.tar.gz raylib-fd5e1e6afb69ef190e74ac780ec3718d36e2d7d1.zip | |
[rtextures] Fix `LoadImageAnimFromMemory()` warning for `fileData` (#3686)
* Fix LoadImageAnimFromMemory() warning for fileData
* Add LoadImageAnimFromMemory() to raylib.h
* Fix missing ; on previous commit
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 0e6ef23f..8b126141 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1302,6 +1302,7 @@ RLAPI Image LoadImage(const char *fileName); RLAPI Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data RLAPI Image LoadImageSvg(const char *fileNameOrString, int width, int height); // Load image from SVG file data or string with specified size RLAPI Image LoadImageAnim(const char *fileName, int *frames); // Load image sequence from file (frames appended to image.data) +RLAPI Image LoadImageAnimFromMemory(const char *fileType, const unsigned char *fileData, int dataSize, int *frames); // Load image sequence from memory buffer RLAPI Image LoadImageFromMemory(const char *fileType, const unsigned char *fileData, int dataSize); // Load image from memory buffer, fileType refers to extension: i.e. '.png' RLAPI Image LoadImageFromTexture(Texture2D texture); // Load image from GPU texture data RLAPI Image LoadImageFromScreen(void); // Load image from screen buffer and (screenshot) |
