mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
VideoBackends: Pass window system info from host on creation
This commit is contained in:
parent
9c57a98723
commit
eb284b5d66
26 changed files with 148 additions and 75 deletions
|
@ -68,6 +68,9 @@ RenderWidget::RenderWidget(QWidget* parent) : QWidget(parent)
|
|||
OnKeepOnTopChanged(Settings::Instance().IsKeepWindowOnTopEnabled());
|
||||
m_mouse_timer->start(MOUSE_HIDE_DELAY);
|
||||
|
||||
// We need a native window to render into.
|
||||
setAttribute(Qt::WA_NativeWindow);
|
||||
|
||||
SetFillBackground(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue