Pārlūkot izejas kodu

Comment review

pull/558/head
Ray San pirms 6 gadiem
vecāks
revīzija
64804f30e6
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. +1
    -2
      src/textures.c

+ 1
- 2
src/textures.c Parādīt failu

@ -780,8 +780,7 @@ void ImageToPOT(Image *image, Color fillColor)
int format = image->format; // Store image data format to reconvert later
// TODO: Image width and height changes... do we want to store new values or keep the old ones?
// NOTE: Issues when using image.width and image.height for sprite animations...
// NOTE: Image size changes, new width and height
*image = LoadImageEx(pixelsPOT, potWidth, potHeight);
free(pixelsPOT); // Free POT pixels data

Notiek ielāde…
Atcelt
Saglabāt