Use C++11's in-line member initializers instead of default constructors with initializer lists, for some structs.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-09-18 02:39:18 -03:00
parent fffbd3ecab
commit cf7342f8b7
9 changed files with 33 additions and 97 deletions
+14 -17
View File
@@ -186,23 +186,20 @@ private:
struct WindowSettings
{
WindowSettings();
bool fullscreen; // = false
Window::FullscreenType fstype; // = FULLSCREEN_TYPE_EXCLUSIVE
bool vsync; // = true
int msaa; // = 0
bool resizable; // = false
int minwidth; // = 1
int minheight; // = 1
bool borderless; // = false
bool centered; // = true
int display; // = 0
bool highdpi; // false
bool sRGB; // false
double refreshrate; // 0.0
}; // WindowSettings
bool fullscreen = false;
Window::FullscreenType fstype = Window::FULLSCREEN_TYPE_EXCLUSIVE;
bool vsync = true;
int msaa = 0;
bool resizable = false;
int minwidth = 1;
int minheight = 1;
bool borderless = false;
bool centered = true;
int display = 0;
bool highdpi = false;
bool sRGB = false;
double refreshrate = 0.0;
};
} // window
} // love