fix white trail in mixer, now it works fine

This commit is contained in:
2018-08-01 18:04:33 +02:00
parent be3b3c089a
commit 8a3760df9e
3 changed files with 4 additions and 3 deletions

View File

@@ -222,7 +222,7 @@ void ui::Canvas::stroke_cancel()
void ui::Canvas::stroke_draw_mix()
{
m_mixer.bindFramebuffer();
m_mixer.clear({ 1, 1, 1, 1 });
m_mixer.clear({ 1, 1, 1, 0 });
glViewport(0, 0, m_mixer.getWidth(), m_mixer.getHeight());
glDisable(GL_DEPTH_TEST);