diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-01 18:53:51 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-01 19:01:39 +0000 |
commit | f91391d6a199b8699cec0426a73fd06055be3052 (patch) | |
tree | 40a3e2f493807a6bdc00891c79e98c3d4e5b072f /gfx/models/texture.cpp | |
parent | Don't forward declare Cache (diff) | |
download | ilt-f91391d6a199b8699cec0426a73fd06055be3052.tar.bz2 ilt-f91391d6a199b8699cec0426a73fd06055be3052.tar.xz ilt-f91391d6a199b8699cec0426a73fd06055be3052.zip |
Cache allows multiple key parts
Diffstat (limited to 'gfx/models/texture.cpp')
-rw-r--r-- | gfx/models/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/models/texture.cpp b/gfx/models/texture.cpp index 612f0a0..79376bc 100644 --- a/gfx/models/texture.cpp +++ b/gfx/models/texture.cpp @@ -6,7 +6,7 @@ #include <resource.h>
#include <stb/stb_image.h>
-Cache<Texture> Texture::cachedTexture;
+Cache<Texture, std::filesystem::path> Texture::cachedTexture;
Texture::Texture(const std::filesystem::path & fileName)
{
|