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

@@ -1769,9 +1769,6 @@ public:
glGetIntegerv(GL_VIEWPORT, vp);
glGetFloatv(GL_COLOR_CLEAR_VALUE, cc);
double w = (double)m_rtt.getWidth();
double h = (double)m_rtt.getHeight();
glClearColor(1, 1, 1, 1);
glClear(GL_COLOR_BUFFER_BIT);
glViewport(0, 0, m_rtt.getWidth(), m_rtt.getHeight());