mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-20 03:30:45 -04: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