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

@@ -81,6 +81,9 @@ public:
bool create(int width, int height, std::string name)
{
m_rtt.create(width, height);
m_rtt.bindFramebuffer();
m_rtt.clear();
m_rtt.unbindFramebuffer();
return true;
}
};