Wrap color clear in 'FBO::clear()' convenience function
This commit is contained in:
parent
082a9ae483
commit
20ec560145
5 changed files with 15 additions and 10 deletions
src
|
|
@ -428,7 +428,7 @@ struct WindowPrivate
|
|||
shader.setTranslation(Vec2i());
|
||||
|
||||
/* Clear texture */
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
FBO::clear();
|
||||
|
||||
/* Repaint base */
|
||||
windowskin->bindTex(shader);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue