Fix issue preventing reload of screen ratio

This commit is contained in:
Lorenzooone
2025-12-06 23:31:45 +01:00
parent 1ffa11fd2b
commit dc21e1babe
3 changed files with 4 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ void WindowScreen::reload() {
this->future_operations.call_rotate = true;
this->future_operations.call_blur = true;
this->future_operations.call_screen_settings_update = true;
if(this->m_win.isOpen())
if(this->m_win.isOpen() || this->m_info.window_enabled)
this->create_window(false);
this->prepare_size_ratios(true, true);
}
@@ -293,7 +293,7 @@ void WindowScreen::draw(double frame_time, VideoOutputData* out_buf, InputVideoD
if(this->m_win.isOpen() ^ should_be_open) {
if(this->m_win.isOpen())
this->close();
else
else if(!this->future_operations.call_create)
this->open();
}
if(!should_be_open)