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
630386e569
commit
7ed38b0a6d
1
CHANGES
1
CHANGES
|
@ -5,6 +5,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:
|
||||
|
|
|
@ -129,7 +129,6 @@ void Display::screenshot() {
|
|||
void Display::initializeGL() {
|
||||
glClearColor(0, 0, 0, 0);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
swapBuffers();
|
||||
}
|
||||
|
||||
void Display::resizeEvent(QResizeEvent* event) {
|
||||
|
|
Loading…
Reference in New Issue