diff --git a/src/Backends/WaylandBackend.cpp b/src/Backends/WaylandBackend.cpp index 1a09accf0..cc76f62fa 100644 --- a/src/Backends/WaylandBackend.cpp +++ b/src/Backends/WaylandBackend.cpp @@ -1083,8 +1083,8 @@ namespace gamescope .flSrcY = 0.0, .flSrcWidth = double( pLayer->tex->width() ), .flSrcHeight = double( pLayer->tex->height() ), - .nDstWidth = int32_t( pLayer->tex->width() / double( pLayer->scale.x ) ), - .nDstHeight = int32_t( pLayer->tex->height() / double( pLayer->scale.y ) ), + .nDstWidth = int32_t( ceil( pLayer->tex->width() / double( pLayer->scale.x ) ) ), + .nDstHeight = int32_t( ceil( pLayer->tex->height() / double( pLayer->scale.y ) ) ), .eColorspace = pLayer->colorspace, .bOpaque = pLayer->zpos == g_zposBase, .uFractionalScale = GetScale(),