]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.h
Add correct copy and move semantics to most classes
[libs/gl.git] / source / core / texture2d.h
index 3a9edae11721c6b626927fed4c5a62e0ab4a72cc..fbcee696686d0dbb93e067341badb2af2b809849 100644 (file)
@@ -34,6 +34,8 @@ private:
        unsigned levels = 0;
 
 public:
+       Texture2D() = default;
+       Texture2D(Texture2D &&) = default;
        virtual ~Texture2D();
 
        /** Sets storage format and dimensions and allocates memory for the texture.