diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 5e4bd46b..79a15771 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -377,7 +377,6 @@ EmuThread::EmuThread(QObject* parent) : QThread(parent) void EmuThread::updateScreenSettings(bool filter, const WindowInfo& windowInfo, int numScreens, int* screenKind, float* screenMatrix) { - printf("update screen setting %d\n", filter); screenSettingsLock.lock(); if (lastScreenWidth != windowInfo.surface_width || lastScreenHeight != windowInfo.surface_height) @@ -482,6 +481,8 @@ void EmuThread::deinitOpenGL() oglContext->DoneCurrent(); oglContext = nullptr; + + lastScreenWidth = lastScreenHeight = -1; } void EmuThread::run()