mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
Qt: Disable auto-fill background and set WA_NoSystemBackground
This commit is contained in:
parent
74e0e83cfd
commit
8b836555f6
|
@ -13,7 +13,9 @@ QtDisplayWidget::QtDisplayWidget(QtHostInterface* host_interface, QWidget* paren
|
|||
: QWidget(parent), m_host_interface(host_interface)
|
||||
{
|
||||
// We want a native window for both D3D and OpenGL.
|
||||
setAutoFillBackground(false);
|
||||
setAttribute(Qt::WA_NativeWindow, true);
|
||||
setAttribute(Qt::WA_NoSystemBackground, true);
|
||||
setAttribute(Qt::WA_PaintOnScreen, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue