summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 00:36:31 +0200
committerRay <[email protected]>2022-08-02 00:36:31 +0200
commitfd191a32eacda23b54438550965fa8addf31e2e2 (patch)
treebb3b8537ef0f4f534650e96b60134febe9a61238 /src/rtextures.c
parentfe9e82b2e689ad6ae13ae6680ae8f1576c498fe2 (diff)
downloadraylib-fd191a32eacda23b54438550965fa8addf31e2e2.tar.gz
raylib-fd191a32eacda23b54438550965fa8addf31e2e2.zip
Remove trailing spaces
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 214f7d73..ec1c7a33 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -1416,9 +1416,9 @@ void ImageResize(Image *image, int newWidth, int newHeight)
// Check if we can use a fast path on image scaling
// It can be for 8 bit per channel images with 1 to 4 channels per pixel
- if ((image->format == PIXELFORMAT_UNCOMPRESSED_GRAYSCALE) ||
- (image->format == PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA) ||
- (image->format == PIXELFORMAT_UNCOMPRESSED_R8G8B8) ||
+ if ((image->format == PIXELFORMAT_UNCOMPRESSED_GRAYSCALE) ||
+ (image->format == PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA) ||
+ (image->format == PIXELFORMAT_UNCOMPRESSED_R8G8B8) ||
(image->format == PIXELFORMAT_UNCOMPRESSED_R8G8B8A8))
{
int bytesPerPixel = GetPixelDataSize(1, 1, image->format);