summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-09-13 17:05:22 +0200
committerRay <[email protected]>2023-09-13 17:05:22 +0200
commit528b8799550f8a9d759ef5db8c86d19923a79794 (patch)
treeeb448953a4d044dc8e2c8b5f380d5a545e3965a9 /src/rtextures.c
parent719365f209d046f3fccefce2974b3dcb2e75cc8f (diff)
downloadraylib-528b8799550f8a9d759ef5db8c86d19923a79794.tar.gz
raylib-528b8799550f8a9d759ef5db8c86d19923a79794.zip
Update rtextures.c
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index c86ebac3..a6741ee2 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -322,9 +322,10 @@ Image LoadImageRaw(const char *fileName, int width, int height, int format, int
Image LoadImageSvg(const char *fileNameOrString, int width, int height)
{
Image image = { 0 };
+
+#if defined(SUPPORT_FILEFORMAT_SVG)
bool isSvgStringValid = false;
-#if defined(SUPPORT_FILEFORMAT_SVG)
// Validate fileName or string
if (fileNameOrString != NULL)
{