summaryrefslogtreecommitdiff
path: root/gfx/models/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r--gfx/models/texture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index 04aa9ec..8f93a42 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -5,10 +5,12 @@
#include <glArrays.h>
// IWYU pragma: no_forward_declare Cache
+class Image;
class Texture {
public:
explicit Texture(const std::filesystem::path & fileName);
+ explicit Texture(const Image & image);
static Cache<Texture, std::filesystem::path> cachedTexture;