From 3c9aa780f9f6951322f57d85e12df1c4c60c3f68 Mon Sep 17 00:00:00 2001 From: Wilhem Barbier Date: Wed, 28 Jun 2017 19:14:20 +0200 Subject: [PATCH] Removed an unwanted file and fixed an example --- examples/textures/gen | Bin 13112 -> 0 bytes examples/textures/textures_image_generation.c | 8 ++++++++ 2 files changed, 8 insertions(+) delete mode 100755 examples/textures/gen diff --git a/examples/textures/gen b/examples/textures/gen deleted file mode 100755 index a0f5bf619c28430f3e5fcfb966ce406e83437381..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13112 zcmeHN4{RIPd4D7&S^h^ec5G{LGGDuRlard2T}M%twjm`^J`IxNIFjQcb568)mIza% z%Rh}>B%KslnXZgdHEjl?SP-EIwzkLyqpe&eMN`Rkq;zuvHFFoC^9CiY4KYaY&i?C+t{tF0+4dJ0=xvN$PrzTrioTcISxa!;jsB;H+hUl#V1`i@p4UwY1 zLJG*NpsUsimMFA@1E_~}oxP2-Ks$Jb=(McIjHIN8Eb7fmy?Loel##ro)IMw*UTqR@ za|eJ!K7fQZ@_T`zET%md(-F*HxQVks13W`?r+^tz(t7~(u%7?jBQDpsz z(l~rJ7Cl(I^RuzYwpcWtIlAp=UG28oo&Hq9zk|0M?W63j-R;~Hn!)-haABQqh70Ea zmj9sX&5=_-d;Q)gvft5) znJ@3Z^`)W9-uM3D124cO(@y|hTcYGe2YeOaN(uRYagcx90e{Z{?}CPvs?ReH@@@zD zYYy_Q4)XUp;OiXl!w&XG9PnxfJ702;f5QO}Ip9x$eIJben9>0fg>;PL8`()4-Yezp z_$E+Y%T}`4%0R&gqz8-`km{b@e3TS}Gk*rZtUe(Reh?v_n7` zNF|Qw@o-E?0-FpUgS%jN>G9^CaF@PEPr_5PI}uIkjIdqFa3re7)9NB*A8SsvCNe3# zK9f!-;(L;MDy2tQdpwp1N80qG=}b~*jmhw%ln=!t$VTH`rmekTJRBn*Cfv}icOC{? z^?Fw{PC5;-L`r`s8jmC%WzEnunWc(0=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52V1oJo0=XB zwP|g^`j!w1Vv|iTkz#-c{V=WZOS^-u%?)O_i!HuJhOu;}G9oO<5|LvI9x95wDH-Qu z4aZp&9uo*y<6w$If))krSb}-9=KCR-CK8Qn5LXmg6p#Z01wl75+-7n7&VL#CLqSIS ziei#9t*y1e9EwOPp>>Djk(ds>%OifUtFYgJF9iBf3oOAz1d$h&0)(i5LYj!T##-@! zBIZvW>q&c6@VSePg!>MlO zj~t7GJwek+QSuc%nZj=|Tud?=lqL087!_phNG#3#ywQG~$IQ<|$o$C!k9hLy-E!`C zM?jZ2p&_QH(4agR4);Vm!D|9+!OhPd2xHKx%ny%a4?JT0!T(?0a9;;Ywz+?z|IZZ9 zOZz% zA?;_SIJZH0q>sRbdr8u#{lcW&An%aERDY5qdKk)aZ%RDvD;A`_BK7U{moWP(WUx<3 zpY|VBa)V6!Ve)Tp|8c2bFAdWET9x{=A4h%om%ga~o(2s2RaVzLkC>H?Xx|PZJlV(J z0Mx2)?tA10Uco|3^2t2WZv$`Dr~iA3Jdijj+d(EskNEG{^y&QMxD0lqa|DvN*MCIn zQ~%R`Ygp>HkfNm2{{(-}rce7aiaXy)f|A<(pR(!G{>>-EAXU00|hvDNT2ot6z5M9o8}kk(Kx;hx;Xx( z{^kzgFm99+_zzc{NT28>D7NaG`%p#bjR<1iNss6UP-4}meanai!7GqKTU3Ag z-+EFJ668m4!WZR{UWW_)*C1m_q;H=;D2vHTY3_;=ai3EJt&`6WzGprI7uAQ>PkcV8 i?m|P{m1;rXv>7MAB#VzpDg6)c5E5elNYaIR6Y`&EwHzS; 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]);