Wrap color clear in 'FBO::clear()' convenience function

This commit is contained in:
Jonas Kulla 2013-10-01 13:10:14 +02:00
parent 082a9ae483
commit 20ec560145
5 changed files with 15 additions and 10 deletions

View file

@ -428,7 +428,7 @@ struct WindowPrivate
shader.setTranslation(Vec2i());
/* Clear texture */
glClear(GL_COLOR_BUFFER_BIT);
FBO::clear();
/* Repaint base */
windowskin->bindTex(shader);