clear new layers

This commit is contained in:
2017-04-15 21:52:18 +02:00
parent 163a435e6e
commit 357f37e3d0
4 changed files with 5 additions and 5 deletions

View File

@@ -229,7 +229,7 @@ void ui::Canvas::resize(int width, int height)
m_tex2.create(width, height);
for (auto& l : m_layers)
{
l.m_rtt.create(width, height);
l.create(width, height, "");
}
}
bool ui::Canvas::create(int width, int height)