mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-29 07:38:34 -05:00
fermi_2d: Make use of designated initializers
Same behavior, less repetition. We can also ensure all members of Config are initialized.
This commit is contained in:
@ -145,8 +145,8 @@ public:
|
||||
} regs{};
|
||||
|
||||
struct Config {
|
||||
Operation operation;
|
||||
Filter filter;
|
||||
Operation operation{};
|
||||
Filter filter{};
|
||||
Common::Rectangle<u32> src_rect;
|
||||
Common::Rectangle<u32> dst_rect;
|
||||
};
|
||||
|
Reference in New Issue
Block a user