Pārlūkot izejas kodu

Update rtextures.c

pull/3847/head
Ray pirms 1 gada
vecāks
revīzija
ed9a6d862b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      src/rtextures.c

+ 1
- 0
src/rtextures.c Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt