Removed an unwanted file and fixed an example

This commit is contained in:
Wilhem Barbier 2017-06-28 19:14:20 +02:00
parent 5f5bd20f07
commit 3c9aa780f9
2 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@ -19,6 +19,7 @@ int main()
int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [textures] example - procedural images generation");
SetTargetFPS(60);
Image verticalGradient = GenImageGradientV(screenWidth, screenHeight, RED, BLUE);
Image horizontalGradient = GenImageGradientH(screenWidth, screenHeight, RED, BLUE);
@ -52,6 +53,13 @@ int main()
EndDrawing();
}
UnloadImage(verticalGradient);
UnloadImage(horizontalGradient);
UnloadImage(radialGradient);
UnloadImage(checked);
UnloadImage(whiteNoise);
UnloadImage(perlinNoise);
UnloadImage(cellular);
for (int i = 0; i < TEXTURES_NUM; i++) // unload the textures
{
UnloadTexture(textures[i]);