Merge pull request #1067 from lioncash/init

emu_window: Ensure WindowConfig members are always initialized
This commit is contained in:
bunnei 2018-08-14 22:43:32 -04:00 committed by GitHub
commit 301baaa942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,9 +34,9 @@ class EmuWindow {
public: public:
/// Data structure to store emuwindow configuration /// Data structure to store emuwindow configuration
struct WindowConfig { struct WindowConfig {
bool fullscreen; bool fullscreen = false;
int res_width; int res_width = 0;
int res_height; int res_height = 0;
std::pair<unsigned, unsigned> min_client_area_size; std::pair<unsigned, unsigned> min_client_area_size;
}; };