Update rtextures.c

This commit is contained in:
Ray
2024-02-28 16:27:55 +01:00
parent 2aed94cfc2
commit ed9a6d862b

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));