Qt: Fix changing resolution of software renderer

This commit is contained in:
Jeffrey Pfau 2016-10-13 14:01:48 -07:00
parent 124f9de7b7
commit 2de952c521
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,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
0.5.1: (2016-10-05)
Bugfixes:

View File

@ -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;
}