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:
parent
8de875e9ea
commit
a3c1488ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue