diff options
| author | 2016-05-03 00:07:17 -0600 | |
|---|---|---|
| committer | 2016-11-05 02:55:41 -0600 | |
| commit | 2b1654ad9bbd8af53f22434d350704a1a1d0a285 (patch) | |
| tree | 0da3cc7a1c622c1a659f4b2a8c5c08984dabd5c3 /src/citra_qt/bootmanager.cpp | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.gz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.xz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.zip | |
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 0abae86c3..7699ca8d0 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -161,9 +161,7 @@ void GRenderWindow::OnFramebufferSizeChanged() { | |||
| 161 | qreal pixelRatio = windowPixelRatio(); | 161 | qreal pixelRatio = windowPixelRatio(); |
| 162 | unsigned width = child->QPaintDevice::width() * pixelRatio; | 162 | unsigned width = child->QPaintDevice::width() * pixelRatio; |
| 163 | unsigned height = child->QPaintDevice::height() * pixelRatio; | 163 | unsigned height = child->QPaintDevice::height() * pixelRatio; |
| 164 | 164 | UpdateCurrentFramebufferLayout(width, height); | |
| 165 | NotifyFramebufferLayoutChanged( | ||
| 166 | EmuWindow::FramebufferLayout::DefaultScreenLayout(width, height)); | ||
| 167 | } | 165 | } |
| 168 | 166 | ||
| 169 | void GRenderWindow::BackupGeometry() { | 167 | void GRenderWindow::BackupGeometry() { |