1
0
Fork 0

Cleanup PVS warning about uninitialized members

This commit is contained in:
krcroft 2020-03-31 17:55:57 -07:00 committed by Patryk Obara
parent f1d197ec5f
commit a8a0e5fa91

View file

@ -252,17 +252,18 @@ struct SDL_Block {
bool wait_on_error;
struct {
struct {
Bit16u width, height;
bool fixed;
bool display_res;
Bit16u width = 0;
Bit16u height = 0;
bool fixed = false;
bool display_res = false;
} full;
struct {
uint16_t width = 0; // TODO convert to int
uint16_t height = 0; // TODO convert to int
bool use_original_size = true;
} window;
Bit8u bpp;
bool fullscreen;
Bit8u bpp = 0;
bool fullscreen = false;
bool vsync = false;
SCREEN_TYPES type;
SCREEN_TYPES want_type;