diff options
| author | Ray <[email protected]> | 2023-05-17 23:14:14 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-05-17 23:14:14 +0200 |
| commit | 76e39e502c826574f2ad85977258b2269bb3087d (patch) | |
| tree | 7bd008b5a902f0c1e36a63ba75c9307f7bb83917 /src | |
| parent | 3a3e672804d7c0efb429d45b22554b357c0dc11d (diff) | |
| download | raylib-76e39e502c826574f2ad85977258b2269bb3087d.tar.gz raylib-76e39e502c826574f2ad85977258b2269bb3087d.zip | |
Update rtextures.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtextures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index 5c8029e5..6bca43d1 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 |
