Disable blend before painting explicitly.

This commit is contained in:
John Preston 2021-06-11 20:28:55 +04:00
parent 9294c8c695
commit 802918dd11

View file

@ -96,6 +96,7 @@ void SurfaceOpenGL::paintEvent(QPaintEvent *e) {
f->glClearColor(bg->redF(), bg->greenF(), bg->blueF(), bg->alphaF());
f->glClear(GL_COLOR_BUFFER_BIT);
}
f->glDisable(GL_BLEND);
f->glViewport(
0,
0,