Procházet zdrojové kódy

Removed an unwanted file and fixed an example

pull/313/head
Wilhem Barbier před 8 roky
rodič
revize
3c9aa780f9
2 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. binární
      examples/textures/gen
  2. +8
    -0
      examples/textures/textures_image_generation.c

binární
examples/textures/gen Zobrazit soubor


+ 8
- 0
examples/textures/textures_image_generation.c Zobrazit soubor

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

Načítá se…
Zrušit
Uložit