mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
(Android) Disabled the DisableComposition setting and corresponding menu option
This commit is contained in:
parent
5ffd06736a
commit
b863861399
|
@ -1595,7 +1595,7 @@ void GuiMenu::openOtherOptions()
|
|||
}
|
||||
});
|
||||
|
||||
#if defined(__unix__)
|
||||
#if defined(__unix__) && !defined(__ANDROID__)
|
||||
// Whether to disable desktop composition.
|
||||
auto disableComposition = std::make_shared<SwitchComponent>();
|
||||
disableComposition->setState(Settings::getInstance()->getBool("DisableComposition"));
|
||||
|
|
|
@ -292,7 +292,7 @@ void Settings::setDefaults()
|
|||
mBoolMap["CustomEventScripts"] = {false, false};
|
||||
mBoolMap["ParseGamelistOnly"] = {false, false};
|
||||
mBoolMap["MAMENameStripExtraInfo"] = {true, true};
|
||||
#if defined(__unix__)
|
||||
#if defined(__unix__) && !defined(__ANDROID__)
|
||||
mBoolMap["DisableComposition"] = {false, false};
|
||||
#endif
|
||||
mBoolMap["DebugMode"] = {false, false};
|
||||
|
|
|
@ -172,7 +172,7 @@ bool Renderer::createWindow()
|
|||
// games or when manually switching windows using the task switcher).
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
|
||||
#if defined(__unix__)
|
||||
#if defined(__unix__) && !defined(__ANDROID__)
|
||||
// Disabling desktop composition can lead to better framerates and a more fluid user
|
||||
// interface, but with some drivers it can cause strange behaviors when returning to
|
||||
// the desktop.
|
||||
|
|
Loading…
Reference in a new issue