From 14e64e64c7da7535e62c275980669d9cf56b7a6d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 30 Mar 2022 17:30:43 +0200 Subject: Add move assignment to texture, fix move constructor not setting owner field --- include/mglpp/graphics/Texture.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3