summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-03 13:51:53 +0200
committerRay <[email protected]>2021-10-03 13:51:53 +0200
commit369cb0a3c53d8f75720821c304b83916ec0c8ac0 (patch)
treee772047c4bd8419e853c98fe2feef74f5e12c314 /src
parent9b3d74db6bd9e38bc1447f636897990bbd698b4b (diff)
downloadraylib-369cb0a3c53d8f75720821c304b83916ec0c8ac0.tar.gz
raylib-369cb0a3c53d8f75720821c304b83916ec0c8ac0.zip
Format tweak
Diffstat (limited to 'src')
-rw-r--r--src/rtextures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 132f613b..0daf6a71 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -743,7 +743,7 @@ Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float
float p = (stb_perlin_fbm_noise3(nx, ny, 1.0f, 2.0f, 0.5f, 6) + 1.0f)/2.0f;
int intensity = (int)(p*255.0f);
- pixels[y*width + x] = (Color){intensity, intensity, intensity, 255};
+ pixels[y*width + x] = (Color){ intensity, intensity, intensity, 255 };
}
}