Pārlūkot izejas kodu

Update rtextures.c

pull/3029/head
Ray pirms 2 gadiem
vecāks
revīzija
e2996f167e
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c Parādīt failu

@ -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;

Notiek ielāde…
Atcelt
Saglabāt