Quellcode durchsuchen

Update rtextures.c

pull/3069/head
Ray vor 2 Jahren
Ursprung
Commit
76e39e502c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c Datei anzeigen

@ -2046,7 +2046,7 @@ void ImageFlipHorizontal(Image *image)
{
for (int x = 0; x < image->width; x++)
{
// OPTION 1: Move pixels with memcopy()
// OPTION 1: Move pixels with memcpy()
//memcpy(flippedData + (y*image->width + x)*bytesPerPixel, ((unsigned char *)image->data) + (y*image->width + (image->width - 1 - x))*bytesPerPixel, bytesPerPixel);
// OPTION 2: Just copy data pixel by pixel

Laden…
Abbrechen
Speichern