mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-03-21 17:55:00 -05:00
Fix issue preventing reload of screen ratio
This commit is contained in:
parent
1ffa11fd2b
commit
dc21e1babe
|
|
@ -7,7 +7,7 @@
|
|||
// time version is baffling... :/
|
||||
// It's the basis of making a library...
|
||||
// Do they expect you to use dlopen? Is that what is going on?
|
||||
#ifndef GPIOD_CTXLESS_FLAG_OPEN_DRAIN
|
||||
#ifndef GPIOD_API
|
||||
#define LIBGPIOD3
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
#include <cstring>
|
||||
#include <queue>
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef SFML_SYSTEM_ANDROID
|
||||
// Since we want to get the native activity from SFML, we'll have to use an
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user