From f88d91d596fdc19472bf169fbf13d90264fe4a97 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 12 Apr 2021 23:47:23 -0400 Subject: [PATCH] wayland: Minor whitespace fix --- src/video/wayland/SDL_waylandvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c index e6dec5e53..5a32d8a74 100644 --- a/src/video/wayland/SDL_waylandvideo.c +++ b/src/video/wayland/SDL_waylandvideo.c @@ -309,8 +309,8 @@ display_handle_done(void *data, SDL_zero(mode); mode.format = SDL_PIXELFORMAT_RGB888; if (driverdata->transform & WL_OUTPUT_TRANSFORM_90) { - mode.w = driverdata->height / driverdata->scale_factor; - mode.h = driverdata->width / driverdata->scale_factor; + mode.w = driverdata->height / driverdata->scale_factor; + mode.h = driverdata->width / driverdata->scale_factor; } else { mode.w = driverdata->width / driverdata->scale_factor; mode.h = driverdata->height / driverdata->scale_factor;