summaryrefslogtreecommitdiff
path: root/gfx/models
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-20 17:57:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-08-10 18:06:01 +0100
commit790599b583e1b819b5023a35b13b707ec9de3439 (patch)
tree71fd0359798a2792586695cdd8042829c4b820f6 /gfx/models
parentAdd missing truthy/falsy operators to AnyPtr (diff)
downloadilt-790599b583e1b819b5023a35b13b707ec9de3439.tar.bz2
ilt-790599b583e1b819b5023a35b13b707ec9de3439.tar.xz
ilt-790599b583e1b819b5023a35b13b707ec9de3439.zip
Apply StdTypeDefs for Texture
Diffstat (limited to 'gfx/models')
-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);