Merge branch 'master' into screen-capture

This commit is contained in:
Frank Leon Rose 2021-03-30 11:04:04 -04:00 committed by GitHub
commit 233e32c978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ screen_init_rendering(struct screen *screen, const char *window_title,
if (window_borderless) {
window_flags |= SDL_WINDOW_BORDERLESS;
}
int x = window_x != -1 ? window_x : (int) SDL_WINDOWPOS_UNDEFINED;
int y = window_y != -1 ? window_y : (int) SDL_WINDOWPOS_UNDEFINED;
screen->window = SDL_CreateWindow(window_title, x, y,