mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 03:35:59 +00:00
VideoBackends:Metal: Add config option to use presentDrawable
This commit is contained in:
parent
5a1b90c7f3
commit
a13f09433c
5 changed files with 14 additions and 2 deletions
|
@ -56,6 +56,7 @@ void VideoConfig::Refresh()
|
|||
bVSync = Config::Get(Config::GFX_VSYNC);
|
||||
iAdapter = Config::Get(Config::GFX_ADAPTER);
|
||||
iManuallyUploadBuffers = Config::Get(Config::GFX_MTL_MANUALLY_UPLOAD_BUFFERS);
|
||||
bUsePresentDrawable = Config::Get(Config::GFX_MTL_USE_PRESENT_DRAWABLE);
|
||||
|
||||
bWidescreenHack = Config::Get(Config::GFX_WIDESCREEN_HACK);
|
||||
aspect_mode = Config::Get(Config::GFX_ASPECT_RATIO);
|
||||
|
|
|
@ -157,6 +157,7 @@ struct VideoConfig final
|
|||
|
||||
// Metal only config
|
||||
TriState iManuallyUploadBuffers = TriState::Auto;
|
||||
bool bUsePresentDrawable = false;
|
||||
|
||||
// Enable API validation layers, currently only supported with Vulkan.
|
||||
bool bEnableValidationLayer = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue