wayland: Minor whitespace fix

main
Ethan Lee 2021-04-12 23:47:23 -04:00 committed by Sam Lantinga
parent d785dab5fd
commit f88d91d596
1 changed files with 2 additions and 2 deletions

View File

@ -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;