diff options
| author | Wilhem Barbier <[email protected]> | 2017-06-28 19:14:20 +0200 |
|---|---|---|
| committer | Wilhem Barbier <[email protected]> | 2017-06-28 19:14:20 +0200 |
| commit | 3c9aa780f9f6951322f57d85e12df1c4c60c3f68 (patch) | |
| tree | d225a88d821b63ce46256f8cd680072782b77faf /examples/textures/textures_image_generation.c | |
| parent | 5f5bd20f07754323619424e9dca60941d83de302 (diff) | |
| download | raylib-3c9aa780f9f6951322f57d85e12df1c4c60c3f68.tar.gz raylib-3c9aa780f9f6951322f57d85e12df1c4c60c3f68.zip | |
Removed an unwanted file and fixed an example
Diffstat (limited to 'examples/textures/textures_image_generation.c')
| -rw-r--r-- | examples/textures/textures_image_generation.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/textures/textures_image_generation.c b/examples/textures/textures_image_generation.c index f6343297..0dc78f5a 100644 --- a/examples/textures/textures_image_generation.c +++ b/examples/textures/textures_image_generation.c @@ -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]); |
