diff --git a/CHANGES b/CHANGES index 3e23e53b7..bfe7b7b3d 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,7 @@ Bugfixes: - GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch - GB MBC: Fix SRAM dangling pointer with RTC games - Windows: Fix Unicode directory handling + - Qt: Fix changing resolution of software renderer Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers diff --git a/src/platform/qt/DisplayQt.cpp b/src/platform/qt/DisplayQt.cpp index 68a68e578..b11294638 100644 --- a/src/platform/qt/DisplayQt.cpp +++ b/src/platform/qt/DisplayQt.cpp @@ -23,6 +23,7 @@ DisplayQt::DisplayQt(QWidget* parent) void DisplayQt::startDrawing(mCoreThread* context) { context->core->desiredVideoDimensions(context->core, &m_width, &m_height); + m_backing = std::move(QImage()); m_isDrawing = true; }