diff --git a/host/platform/Windows/capture/DXGI/src/dxgi.c b/host/platform/Windows/capture/DXGI/src/dxgi.c index d5cbef76..6343a52f 100644 --- a/host/platform/Windows/capture/DXGI/src/dxgi.c +++ b/host/platform/Windows/capture/DXGI/src/dxgi.c @@ -1453,7 +1453,7 @@ static CaptureResult dxgi_getFrame(FrameBuffer * frame, int frameIndex) int originalX = rect.x; int scaledX = originalX * 3 / 4; rect.x = scaledX; - rect.width = ((originalX + rect.width) * 3 / 4) - scaledX; + rect.width = (((originalX + rect.width) * 3 + 3) / 4) - scaledX; scaledDamageRects[i] = rect; }