Merge branch 'raysan5:master' into master

This commit is contained in:
Dalton Overmyer 2024-02-28 20:44:34 -06:00 committed by GitHub
commit 4fc731ca04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1056,6 +1056,7 @@ Image GenImageChecked(int width, int height, int checksX, int checksY, Color col
} }
// Generate image: white noise // Generate image: white noise
// NOTE: It requires GetRandomValue(), defined in [rcore]
Image GenImageWhiteNoise(int width, int height, float factor) Image GenImageWhiteNoise(int width, int height, float factor)
{ {
Color *pixels = (Color *)RL_MALLOC(width*height*sizeof(Color)); Color *pixels = (Color *)RL_MALLOC(width*height*sizeof(Color));