Review variables initialization
This commit is contained in:
parent
241c4c8d14
commit
87774a0a21
33 changed files with 52 additions and 56 deletions
|
@ -30,7 +30,8 @@ int main(void)
|
|||
Image perlinNoise = GenImagePerlinNoise(screenWidth, screenHeight, 50, 50, 4.0f);
|
||||
Image cellular = GenImageCellular(screenWidth, screenHeight, 32);
|
||||
|
||||
Texture2D textures[NUM_TEXTURES];
|
||||
Texture2D textures[NUM_TEXTURES] = { 0 };
|
||||
|
||||
textures[0] = LoadTextureFromImage(verticalGradient);
|
||||
textures[1] = LoadTextureFromImage(horizontalGradient);
|
||||
textures[2] = LoadTextureFromImage(radialGradient);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue