summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/wayland_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 282fefefef..1c8d2097c8 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -1492,8 +1492,9 @@ static int set_screensaver_inhibitor(struct vo_wayland_state *wl, int state)
static void set_surface_scaling(struct vo_wayland_state *wl)
{
+ bool vaapi_wayland = !strcmp(wl->vo->driver->name, "vaapi-wayland");
int old_scale = wl->scaling;
- if (wl->vo_opts->hidpi_window_scale) {
+ if (wl->vo_opts->hidpi_window_scale && !vaapi_wayland) {
wl->scaling = wl->current_output->scale;
} else {
wl->scaling = 1;