From 399ae8ba45f40a54ec68026f77ca3c7c709ab62f Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:23 +0100 Subject: refactor(render): move functions from load into loader --- stockton-render/src/draw/texture/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stockton-render/src/draw/texture/repo.rs') diff --git a/stockton-render/src/draw/texture/repo.rs b/stockton-render/src/draw/texture/repo.rs index c37da11..75cc650 100644 --- a/stockton-render/src/draw/texture/repo.rs +++ b/stockton-render/src/draw/texture/repo.rs @@ -116,7 +116,7 @@ impl<'a> TextureRepo<'a> { resolver, )?; - std::thread::spawn(move || loader.loop_forever()) + std::thread::spawn(move || loader.loop_until_exit()) }; Ok(TextureRepo { -- cgit v1.2.3