Don't create a maximized window

As we have a static window size for now we can't maximize to the whole
screen size.
This commit is contained in:
Simon Fels 2016-09-07 20:10:04 +01:00
commit a3c1488ad2

View file

@ -341,7 +341,7 @@ Window::Window(const std::shared_ptr<input::Manager> &input_manager,
SDL_WINDOWPOS_UNDEFINED,
width,
height,
SDL_WINDOW_OPENGL | SDL_WINDOW_MAXIMIZED);
SDL_WINDOW_OPENGL);
if (!window_) {
const auto message = utils::string_format("Failed to create window: %s", SDL_GetError());
BOOST_THROW_EXCEPTION(std::runtime_error(message));