mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-08 06:49:09 +01:00
emu_window: Ensure WindowConfig members are always initialized
Previously we weren't always initializing all members of the struct. Prevents potentially wonky behavior from occurring.
This commit is contained in:
parent
d1520410a3
commit
2e715ef70d
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@ class EmuWindow {
|
|||
public:
|
||||
/// Data structure to store emuwindow configuration
|
||||
struct WindowConfig {
|
||||
bool fullscreen;
|
||||
int res_width;
|
||||
int res_height;
|
||||
bool fullscreen = false;
|
||||
int res_width = 0;
|
||||
int res_height = 0;
|
||||
std::pair<unsigned, unsigned> min_client_area_size;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue