blob: 0713ad063f590e5cb8cacf20cf3dd9f3a2e304ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
with Raylib;
use Raylib;
procedure Preview is
Map : Texture := No_Texture;
begin
Open_Window (1280, 720, "Pandemos Empire" & ASCII.NUL);
--
Map := Load_Texture ("./example/resource/pandemos.png" & ASCII.NUL);
--
while not Window_Should_Close
loop
Begin_Drawing;
Draw_Texture (Map);
End_Drawing;
end loop Main_Loop;
--
Unload_Texture (Map);
--
Close_Window;
end Preview;
|