mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix "QOpenGLContext::swapBuffers() called with non-exposed window" warning
This commit is contained in:
parent
190ace3003
commit
609a9c5aa0
1
CHANGES
1
CHANGES
|
@ -8,6 +8,7 @@ Bugfixes:
|
|||
- Qt: Fix Display object leak when closing a window
|
||||
- Qt: Fix .deb dependencies
|
||||
- GBA Audio: FIFOs should not poll DMAs that are not scheduled for audio
|
||||
- Qt: Fix "QOpenGLContext::swapBuffers() called with non-exposed window" warning
|
||||
|
||||
0.2.0: (2015-04-03)
|
||||
Features:
|
||||
|
|
|
@ -239,7 +239,6 @@ void Painter::unpause() {
|
|||
void Painter::initializeGL() {
|
||||
glClearColor(0, 0, 0, 0);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
swapBuffers();
|
||||
}
|
||||
|
||||
void Painter::performDraw() {
|
||||
|
|
Loading…
Reference in New Issue