浏览代码

Update rtextures.c

pull/3312/head
Ray 2 年前
父节点
当前提交
528b879955
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/rtextures.c

+ 2
- 1
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 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)
{ {

正在加载...
取消
保存