mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 15:48:04 +00: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:
parent
7cae339b98
commit
e486fc26a8
2 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue