summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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 };
}
}