mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-29 06:11:47 +00:00
System: Always adjust video size for capture
Fixes auto resolution size with non-multiple-of-4 window sizes.
This commit is contained in:
parent
22fb032f91
commit
a660c13625
@ -5474,7 +5474,6 @@ bool System::StartMediaCapture(std::string path)
|
||||
const GSVector2i video_size = backend->GetPresenter().CalculateScreenshotSize(mode);
|
||||
u32 video_width = static_cast<u32>(video_size.x);
|
||||
u32 video_height = static_cast<u32>(video_size.y);
|
||||
if (mode != DisplayScreenshotMode::ScreenResolution)
|
||||
MediaCapture::AdjustVideoSize(&video_width, &video_height);
|
||||
|
||||
// fire back to the CPU thread to actually start the capture
|
||||
|
Loading…
x
Reference in New Issue
Block a user