mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix Software renderer not handling alpha bits properly
This commit is contained in:
parent
6e03d88818
commit
8beb7e8e16
1
CHANGES
1
CHANGES
|
@ -180,6 +180,7 @@ Bugfixes:
|
||||||
- GBA Timer: Fix count-up timing overflowing timer 3
|
- GBA Timer: Fix count-up timing overflowing timer 3
|
||||||
- Core: Fix rewinding getting out of sync (fixes mgba.io/i/791)
|
- Core: Fix rewinding getting out of sync (fixes mgba.io/i/791)
|
||||||
- Qt: Fix GL-less build
|
- Qt: Fix GL-less build
|
||||||
|
- Qt: Fix Software renderer not handling alpha bits properly
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Add language selector
|
- Qt: Add language selector
|
||||||
- GBA Timer: Improve accuracy of timers
|
- GBA Timer: Improve accuracy of timers
|
||||||
|
|
|
@ -50,7 +50,8 @@ void DisplayQt::framePosted(const uint32_t* buffer) {
|
||||||
m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_RGB555);
|
m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_RGB555);
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_RGB32);
|
m_backing = QImage(reinterpret_cast<const uchar*>(buffer), m_width, m_height, QImage::Format_ARGB32);
|
||||||
|
m_backing = m_backing.convertToFormat(QImage::Format_RGB32);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue