aboutsummaryrefslogtreecommitdiff
path: root/example/preview.adb
diff options
context:
space:
mode:
authorxolatile2024-04-23 12:15:11 -0400
committerxolatile2024-04-23 12:15:11 -0400
commitebd9faf5dd21247c1b3f7acdf4e910ffdf32bc37 (patch)
tree1dcaded84d0d532e5834d85095f55d427e016506 /example/preview.adb
parentc173a91ff2e8ec09c1d2e10b8ac2b8b437efb4fa (diff)
downloadxolatile-raylib-ada-ebd9faf5dd21247c1b3f7acdf4e910ffdf32bc37.tar.xz
xolatile-raylib-ada-ebd9faf5dd21247c1b3f7acdf4e910ffdf32bc37.tar.zst
New generation example...
Diffstat (limited to 'example/preview.adb')
-rw-r--r--example/preview.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/example/preview.adb b/example/preview.adb
index 5836ebe..0713ad0 100644
--- a/example/preview.adb
+++ b/example/preview.adb
@@ -10,9 +10,8 @@ begin
--
Map := Load_Texture ("./example/resource/pandemos.png" & ASCII.NUL);
--
- Main_Loop: loop
- exit when Window_Should_Close;
- --
+ while not Window_Should_Close
+ loop
Begin_Drawing;
Draw_Texture (Map);
End_Drawing;