diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-30 20:36:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-04 19:29:49 +0000 |
commit | bde4a9f40bb4af39270a124d5ef9571a83305d0a (patch) | |
tree | 536719df20d8f18d4c40e893c2f93b4fa45fb2d5 /gfx/models/texture.h | |
parent | Add some tests over collection (diff) | |
download | ilt-bde4a9f40bb4af39270a124d5ef9571a83305d0a.tar.bz2 ilt-bde4a9f40bb4af39270a124d5ef9571a83305d0a.tar.xz ilt-bde4a9f40bb4af39270a124d5ef9571a83305d0a.zip |
Restructure to allow a resource path and testing
Diffstat (limited to 'gfx/models/texture.h')
-rw-r--r-- | gfx/models/texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h index 30ba953..8bbba85 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -2,14 +2,14 @@ #define TEXTURE_H
#include <GL/glew.h>
+#include <filesystem>
#include <special_members.hpp>
-#include <string>
template<typename Obj> class Cache;
class Texture {
public:
- explicit Texture(const std::string & fileName);
+ explicit Texture(const std::filesystem::path & fileName);
virtual ~Texture();
|