Disable blend before painting explicitly.
This commit is contained in:
parent
9294c8c695
commit
802918dd11
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue