clear new layers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user