Center SDL window when possible

This commit is contained in:
Henrik Rydgard 2014-02-05 19:44:43 +01:00
parent b913c3c36f
commit 790c70f3fb

View File

@ -381,6 +381,8 @@ void ToggleFullScreenIfFlagSet() {
#undef main
#endif
int main(int argc, char *argv[]) {
putenv("SDL_VIDEO_CENTERED=1");
std::string app_name;
std::string app_name_nice;
bool landscape;