diff options
Diffstat (limited to 'gfx/models')
-rw-r--r-- | gfx/models/texture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gfx/models/texture.h b/gfx/models/texture.h index 689d378..8cb8128 100644 --- a/gfx/models/texture.h +++ b/gfx/models/texture.h @@ -1,8 +1,9 @@ #pragma once #include "config/types.h" +#include "glArrays.h" +#include "stdTypeDefs.h" #include <filesystem> -#include <glArrays.h> #include <glm/fwd.hpp> class Image; @@ -20,7 +21,7 @@ struct TextureOptions { static GLint glMapMode(MapMode); }; -class Texture { +class Texture : public StdTypeDefs<Texture> { public: virtual ~Texture() = default; DEFAULT_MOVE_NO_COPY(Texture); |