From 76e39e502c826574f2ad85977258b2269bb3087d Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 17 May 2023 23:14:14 +0200 Subject: [PATCH] Update rtextures.c --- src/rtextures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtextures.c b/src/rtextures.c index 5c8029e5a..6bca43d15 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -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