mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:32:44 +00:00
Removed an unwanted file and fixed an example
This commit is contained in:
Binary file not shown.
@@ -19,6 +19,7 @@ int main()
|
|||||||
int screenHeight = 450;
|
int screenHeight = 450;
|
||||||
|
|
||||||
InitWindow(screenWidth, screenHeight, "raylib [textures] example - procedural images generation");
|
InitWindow(screenWidth, screenHeight, "raylib [textures] example - procedural images generation");
|
||||||
|
SetTargetFPS(60);
|
||||||
|
|
||||||
Image verticalGradient = GenImageGradientV(screenWidth, screenHeight, RED, BLUE);
|
Image verticalGradient = GenImageGradientV(screenWidth, screenHeight, RED, BLUE);
|
||||||
Image horizontalGradient = GenImageGradientH(screenWidth, screenHeight, RED, BLUE);
|
Image horizontalGradient = GenImageGradientH(screenWidth, screenHeight, RED, BLUE);
|
||||||
@@ -52,6 +53,13 @@ int main()
|
|||||||
EndDrawing();
|
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
|
for (int i = 0; i < TEXTURES_NUM; i++) // unload the textures
|
||||||
{
|
{
|
||||||
UnloadTexture(textures[i]);
|
UnloadTexture(textures[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user