fix layer and frame duplicate

This commit is contained in:
2019-11-04 15:03:21 +01:00
parent adc64ad42e
commit 4b6316bf68
5 changed files with 38 additions and 13 deletions

View File

@@ -66,7 +66,7 @@ public:
RTT& rtt(int i, int frame = -1);
glm::vec4& box(int i, int frame = -1);
bool& face(int i, int frame = -1);
LayerFrame& frame();
LayerFrame& frame(int frame = -1);
void resize(int width, int height);
bool create(int width, int height, std::string name);
bool add_frame();