From f91391d6a199b8699cec0426a73fd06055be3052 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 1 Jan 2022 18:53:51 +0000 Subject: Cache allows multiple key parts --- gfx/models/texture.cpp | 2 +- gfx/models/texture.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx') 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 #include -Cache Texture::cachedTexture; +Cache Texture::cachedTexture; Texture::Texture(const std::filesystem::path & fileName) { 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 cachedTexture; + static Cache cachedTexture; void Bind() const; -- cgit v1.2.3