From 7ed38b0a6d07b8f90a6c420c5cfc01bf70c42fca Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 5 Apr 2015 18:02:59 -0700 Subject: [PATCH] Qt: Fix "QOpenGLContext::swapBuffers() called with non-exposed window" warning --- CHANGES | 1 + src/platform/qt/Display.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e7c01ea62..d4c9da571 100644 --- a/CHANGES +++ b/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: diff --git a/src/platform/qt/Display.cpp b/src/platform/qt/Display.cpp index 989d967b7..9370c2a3d 100644 --- a/src/platform/qt/Display.cpp +++ b/src/platform/qt/Display.cpp @@ -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) {