blob: c02e75cc318a0286c1972ddea380212a0eca1afe (
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;
--
Unload_Texture (Map);
--
Close_Window;
end Preview;
|