From 37bc104be128b0709642c466f771555c3d5b609e Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 9 Apr 2021 13:19:48 -0500 Subject: [PATCH] Expose private resource until we have multi-stage asset-loading. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8037c4f..793448f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -101,8 +101,9 @@ impl AssetLoader for BufferAssetLoader { } } +// TODO: Make non-public when we have multi-stage asset loading. #[derive(Default)] -struct Buffers(HashMap>); +pub struct Buffers(pub HashMap>); fn buffer_creation( context: Res,