summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2023-09-02 13:16:44 +0200
committerRay <[email protected]>2023-09-02 13:16:44 +0200
commitd6f3891009bbd582ceb4728682ffb6e1a89bd721 (patch)
treed8a4019b08a4959307d55794a9c8b6f7acde0fe5 /src/raylib.h
parentc03ab03627232047c63b11c27567ef3d0a74ca3c (diff)
downloadraylib-d6f3891009bbd582ceb4728682ffb6e1a89bd721.tar.gz
raylib-d6f3891009bbd582ceb4728682ffb6e1a89bd721.zip
REVIEWED: `LoadImageSvg()`
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 198c6c49..4f3e3538 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1245,8 +1245,7 @@ RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2);
// NOTE: These functions do not require GPU access
RLAPI Image LoadImage(const char *fileName); // Load image from file into CPU memory (RAM)
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 *fileName, int width, int height); // Load image from SVG file data with specified size
-RLAPI Image LoadImageSvgFromString(const char *string, int width, int height); // Load an image from a SVG string with custom size
+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 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