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.h5
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);