summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-01 18:51:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-01 18:51:39 +0000
commitf6cdb32b21e79f5c75cbe28345546524f7333d64 (patch)
treea82ea98e04f996c7db6452de65ba14f7ce8f9211 /gfx
parentGeneric solution for glGen/glDel arrays, then tidy-up the uses (diff)
downloadilt-f6cdb32b21e79f5c75cbe28345546524f7333d64.tar.bz2
ilt-f6cdb32b21e79f5c75cbe28345546524f7333d64.tar.xz
ilt-f6cdb32b21e79f5c75cbe28345546524f7333d64.zip
Don't forward declare Cache
Diffstat (limited to 'gfx')
-rw-r--r--gfx/models/texture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h
index 6dbe9af..35c8c8b 100644
--- a/gfx/models/texture.h
+++ b/gfx/models/texture.h
@@ -1,10 +1,11 @@
#ifndef TEXTURE_H
#define TEXTURE_H
+#include <cache.h>
#include <filesystem>
#include <glArrays.h>
-template<typename Obj> class Cache;
+// IWYU pragma: no_forward_declare Cache
class Texture {
public: