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