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:
Lioncash
2020-09-18 13:55:18 -04:00
parent 050a4a401b
commit 91bca9eb0b
2 changed files with 8 additions and 8 deletions

View File

@ -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;
};