From: xolatile Date: Tue, 23 Apr 2024 15:35:35 +0000 (-0400) Subject: Texture example... X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=c7a65a921039a7ccdde5f6815d91da6bcc423b58;p=xolatile-raylib-ada.git Texture example... --- diff --git a/example/resource/texture.png b/example/resource/texture.png deleted file mode 100644 index e9b69e9..0000000 Binary files a/example/resource/texture.png and /dev/null differ diff --git a/example/texture.adb b/example/texture.adb new file mode 100644 index 0000000..c4fa5e2 --- /dev/null +++ b/example/texture.adb @@ -0,0 +1,18 @@ +with Raylib; +use Raylib; + +procedure Window is + +begin + Open_Window (1280, 720, "Pandemos Empire" & ASCII.NUL); + -- + Main_Loop: loop + exit when Window_Should_Close; + -- + Begin_Drawing; + Clear_Background; + End_Drawing; + end loop Main_Loop; + -- + Close_Window; +end Window;