mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
Update rtextures.c
This commit is contained in:
@@ -1056,6 +1056,7 @@ Image GenImageChecked(int width, int height, int checksX, int checksY, Color col
|
||||
}
|
||||
|
||||
// Generate image: white noise
|
||||
// NOTE: It requires GetRandomValue(), defined in [rcore]
|
||||
Image GenImageWhiteNoise(int width, int height, float factor)
|
||||
{
|
||||
Color *pixels = (Color *)RL_MALLOC(width*height*sizeof(Color));
|
||||
|
Reference in New Issue
Block a user