GPU: Fix internal res screenshot AR with None cropping

This commit is contained in:
Stenzek 2024-09-07 20:19:28 +10:00
parent 62497c66f6
commit 7293460ac7
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -2772,8 +2772,8 @@ void GPU::CalculateScreenshotSize(DisplayScreenshotMode mode, u32* width, u32* h
{
if (mode == DisplayScreenshotMode::InternalResolution)
{
const u32 draw_width = static_cast<u32>(draw_rect->width());
const u32 draw_height = static_cast<u32>(draw_rect->height());
const u32 draw_width = static_cast<u32>(display_rect->width());
const u32 draw_height = static_cast<u32>(display_rect->height());
// If internal res, scale the computed draw rectangle to the internal res.
// We re-use the draw rect because it's already been AR corrected.