summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-01 18:53:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-01 19:01:39 +0000
commitf91391d6a199b8699cec0426a73fd06055be3052 (patch)
tree40a3e2f493807a6bdc00891c79e98c3d4e5b072f /gfx/models/texture.h
parentDon't forward declare Cache (diff)
downloadilt-f91391d6a199b8699cec0426a73fd06055be3052.tar.bz2
ilt-f91391d6a199b8699cec0426a73fd06055be3052.tar.xz
ilt-f91391d6a199b8699cec0426a73fd06055be3052.zip
Cache allows multiple key parts
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index 35c8c8b..e029a9b 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -11,7 +11,7 @@ class Texture {
public:
explicit Texture(const std::filesystem::path & fileName);
- static Cache<Texture> cachedTexture;
+ static Cache<Texture, std::filesystem::path> cachedTexture;
void Bind() const;