]> git.xolatile.top Git - xolatile-raylib-ada.git/commitdiff
Texture example...
authorxolatile <xolatile@proton.me>
Tue, 23 Apr 2024 15:35:35 +0000 (11:35 -0400)
committerxolatile <xolatile@proton.me>
Tue, 23 Apr 2024 15:35:35 +0000 (11:35 -0400)
example/resource/texture.png [deleted file]
example/texture.adb [new file with mode: 0644]

diff --git a/example/resource/texture.png b/example/resource/texture.png
deleted file mode 100644 (file)
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 (file)
index 0000000..c4fa5e2
--- /dev/null
@@ -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;