fix white trail in mixer, now it works fine
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user