Skip to content

Commit

Permalink
Disable window resizing on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfryd committed Nov 27, 2021
1 parent 88e756b commit c6ac9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Display::Display(
int window_width = std::get<0>(window_size) > 0 ? std::get<0>(window_size) : width;
int window_height = std::get<1>(window_size) > 0 ? std::get<1>(window_size) : height;

const int create_window_flags = strcmp(SDL_GetPlatform(), "Windows") == 0 ? SDL_WINDOW_SHOWN : SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE;
const int create_window_flags = SDL_WINDOW_SHOWN;

window_ = check_SDL(SDL_CreateWindow(
"video-compare", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
Expand Down

0 comments on commit c6ac9b3

Please sign in to comment.