summaryrefslogtreecommitdiff
path: root/alligator_resources/src/texture.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-04 13:25:45 -0500
committerMicha White <botahamec@outlook.com>2023-02-04 13:25:45 -0500
commit9fd7d6689d5d90679e4b0c12e463ef4e2f8bf515 (patch)
treea0b127f1094b72d0966c2edea3d171e74001c875 /alligator_resources/src/texture.rs
parent518a87ddb2e6ce908affce2773fc7f92beb52c73 (diff)
Have the renderer take the texture manager
Diffstat (limited to 'alligator_resources/src/texture.rs')
-rw-r--r--alligator_resources/src/texture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_resources/src/texture.rs b/alligator_resources/src/texture.rs
index 90bc662..e5b4147 100644
--- a/alligator_resources/src/texture.rs
+++ b/alligator_resources/src/texture.rs
@@ -364,7 +364,7 @@ impl Default for TextureManagerConfig {
impl TextureManager {
/// Create a new `TextureManager` with the given config options.
#[must_use]
- pub fn new(config: TextureManagerConfig) -> Self {
+ pub fn new(config: &TextureManagerConfig) -> Self {
let textures = DashMap::with_capacity(config.initial_capacity);
Self {