mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 11:38:01 -05:00
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.
This commit is contained in:
@ -46,11 +46,8 @@ bool EmuWindow_SDL2::IsOpen() const {
|
||||
|
||||
void EmuWindow_SDL2::OnResize() {
|
||||
int width, height;
|
||||
|
||||
SDL_GetWindowSize(render_window, &width, &height);
|
||||
|
||||
NotifyFramebufferLayoutChanged(
|
||||
EmuWindow::FramebufferLayout::DefaultScreenLayout(width, height));
|
||||
UpdateCurrentFramebufferLayout(width, height);
|
||||
}
|
||||
|
||||
EmuWindow_SDL2::EmuWindow_SDL2() {
|
||||
|
Reference in New Issue
Block a user