Browse Source

Update rtextures.c

pull/3847/head
Ray 10 months ago
parent
commit
ed9a6d862b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rtextures.c

+ 1
- 0
src/rtextures.c View File

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

Loading…
Cancel
Save