summaryrefslogtreecommitdiff
path: root/alligator_resources/src
diff options
context:
space:
mode:
Diffstat (limited to 'alligator_resources/src')
-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 {