mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Set vulkan to default renderer whenever we have vulkan support
This commit is contained in:
parent
fa5a16e9fc
commit
b3f5ed55a1
2 changed files with 4 additions and 6 deletions
|
@ -119,13 +119,11 @@ struct cfg_root : cfg::node
|
||||||
{
|
{
|
||||||
node_video(cfg::node* _this) : cfg::node(_this, "Video") {}
|
node_video(cfg::node* _this) : cfg::node(_this, "Video") {}
|
||||||
|
|
||||||
cfg::_enum<video_renderer> renderer{ this, "Renderer",
|
#if defined(HAVE_VULKAN)
|
||||||
#if defined(ANDROID) || defined(__APPLE__)
|
cfg::_enum<video_renderer> renderer{ this, "Renderer", video_renderer::vulkan };
|
||||||
video_renderer::vulkan
|
|
||||||
#else
|
#else
|
||||||
video_renderer::opengl // TODO: Is it still actual?
|
cfg::_enum<video_renderer> renderer{ this, "Renderer", video_renderer::opengl };
|
||||||
#endif
|
#endif
|
||||||
};
|
|
||||||
|
|
||||||
cfg::_enum<video_resolution> resolution{ this, "Resolution", video_resolution::_720p };
|
cfg::_enum<video_resolution> resolution{ this, "Resolution", video_resolution::_720p };
|
||||||
cfg::_enum<video_aspect> aspect_ratio{ this, "Aspect ratio", video_aspect::_16_9 };
|
cfg::_enum<video_aspect> aspect_ratio{ this, "Aspect ratio", video_aspect::_16_9 };
|
||||||
|
|
|
@ -310,7 +310,7 @@ void hid_pad_handler<Device>::update_devices()
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
if (hid_device* dev = hid_libusb_wrap_sys_device(path, -1))
|
if (hid_device* dev = hid_libusb_wrap_sys_device(path, -1))
|
||||||
#else
|
#else
|
||||||
if (hid_device* dev = hid_open_path(path))
|
if (hid_device* dev = hid_open_path(path.c_str()))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (const hid_device_info* info = hid_get_device_info(dev))
|
if (const hid_device_info* info = hid_get_device_info(dev))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue