mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Update rtextures.c
This commit is contained in:
@@ -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 LoadImageSvg(const char *fileNameOrString, int width, int height)
|
||||||
{
|
{
|
||||||
Image image = { 0 };
|
Image image = { 0 };
|
||||||
|
|
||||||
|
#if defined(SUPPORT_FILEFORMAT_SVG)
|
||||||
bool isSvgStringValid = false;
|
bool isSvgStringValid = false;
|
||||||
|
|
||||||
#if defined(SUPPORT_FILEFORMAT_SVG)
|
|
||||||
// Validate fileName or string
|
// Validate fileName or string
|
||||||
if (fileNameOrString != NULL)
|
if (fileNameOrString != NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user