mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 16:23:02 +00:00
settings: Simplify initializer of resolution factor
This can use a braced initializer to accomplish the same thing with less code.
This commit is contained in:
parent
d62d28522b
commit
c0ab5b79dc
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ struct Values {
|
|||
bool renderer_debug;
|
||||
Setting<int> vulkan_device;
|
||||
|
||||
Setting<u16> resolution_factor = Setting(static_cast<u16>(1));
|
||||
Setting<u16> resolution_factor{1};
|
||||
Setting<int> aspect_ratio;
|
||||
Setting<int> max_anisotropy;
|
||||
Setting<bool> use_frame_limit;
|
||||
|
|
Loading…
Reference in a new issue