浏览代码

Update rtextures.c

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

+ 2
- 0
src/rtextures.c 查看文件

@ -525,6 +525,8 @@ bool ExportImage(Image image, const char *fileName)
{
int success = 0;
if ((image.width == 0) || (image.height == 0) || (image.data == NULL)) return success;
#if defined(SUPPORT_IMAGE_EXPORT)
int channels = 4;
bool allocatedData = false;

正在加载...
取消
保存