aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-30 17:30:43 +0200
committerdec05eba <dec05eba@protonmail.com>2022-03-30 17:30:43 +0200
commit14e64e64c7da7535e62c275980669d9cf56b7a6d (patch)
tree67a2491600d07e2896b47710c2a175b77ae9af50 /include
parent2c879c34c9aeddae528d2818f7baa6a915d5d77a (diff)
Add move assignment to texture, fix move constructor not setting owner field
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/graphics/Texture.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Texture.hpp b/include/mglpp/graphics/Texture.hpp
index 5ef94a0..906818c 100644
--- a/include/mglpp/graphics/Texture.hpp
+++ b/include/mglpp/graphics/Texture.hpp
@@ -18,6 +18,7 @@ namespace mgl {
Texture();
Texture(Texture &&other);
+ Texture& operator=(Texture &&other);
~Texture();
static Texture reference(mgl_texture ref);