summaryrefslogtreecommitdiffhomepage
path: root/main/app.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-23 08:53:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-23 08:53:30 +0200
commit81a9284fbda7bfefa417a408346ddb2abd26a1e2 (patch)
treeb97fbba0f264d0ffb840671e82ab04a0ac62e620 /main/app.hpp
parent8cad01303ff97c929e8b9d25de5a7a5b264e8bb9 (diff)
autodetect tile atlas extensions
Diffstat (limited to 'main/app.hpp')
-rw-r--r--main/app.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/app.hpp b/main/app.hpp
index 2876dbc8..1ac23dd2 100644
--- a/main/app.hpp
+++ b/main/app.hpp
@@ -99,10 +99,10 @@ private:
GL::MultisampleTexture2D _msaa_color_texture{};
tile_shader _shader;
- tile_atlas_ floor1 = loader.tile_atlas("floor-tiles.tga", {44, 4});
- tile_atlas_ floor2 = loader.tile_atlas("metal1.tga", {2, 2});
- tile_atlas_ wall1 = loader.tile_atlas("wood2.tga", {2, 2});
- tile_atlas_ wall2 = loader.tile_atlas("wood1.tga", {2, 2});
+ tile_atlas_ floor1 = loader.tile_atlas("floor-tiles", {44, 4});
+ tile_atlas_ floor2 = loader.tile_atlas("metal1", {2, 2});
+ tile_atlas_ wall1 = loader.tile_atlas("wood2", {1, 1});
+ tile_atlas_ wall2 = loader.tile_atlas("wood1", {1, 1});
floor_mesh _floor_mesh;
wall_mesh _wall_mesh;