From 30971f64a7aaac963b24d2085481c149b16c2615 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 24 Dec 2023 16:21:50 -0800 Subject: [PATCH] Added assets submodule --- .gitmodules | 3 +++ assets | 1 + src/render/texturearray/array.rs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 assets diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ffb09a4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "assets"] + path = assets + url = ssh://git@git.betalupi.com:33/galactica/assets.git diff --git a/assets b/assets new file mode 160000 index 0000000..0d7b579 --- /dev/null +++ b/assets @@ -0,0 +1 @@ +Subproject commit 0d7b5796746451257a5dd66325e49cbf76909f63 diff --git a/src/render/texturearray/array.rs b/src/render/texturearray/array.rs index 017098a..e0ca703 100644 --- a/src/render/texturearray/array.rs +++ b/src/render/texturearray/array.rs @@ -12,7 +12,7 @@ pub struct TextureArray { } impl TextureArray { - const INDEX_PATH: &'static str = "assets.ignore"; + const INDEX_PATH: &'static str = "assets"; pub fn get_starfield(&self) -> Texture { return self.get_texture(&self.config.starfield);