fix rtt copy/move

This commit is contained in:
2019-10-15 16:59:55 +02:00
parent 9ccd6ed2f4
commit 5f002cca53
6 changed files with 161 additions and 73 deletions

View File

@@ -10,9 +10,19 @@ struct LayerFrame
std::array<bool, 6> m_dirty_face = SIXPLETTE(false);
int m_duration = 1;
int w = 0, h = 0;
LayerFrame() = default;
//// default
//LayerFrame() = default;
//// copy
//LayerFrame(const LayerFrame&) = delete;
//LayerFrame& operator=(const LayerFrame&) = delete;
//// move
//LayerFrame(LayerFrame&& other);
//LayerFrame& operator=(LayerFrame&&);
bool create(int width, int height, int duration = 1);
bool resize(int width, int height);
void clear(const glm::vec4& c);
};
class Layer