GPU: Fix internal res screenshot AR with None cropping

This commit is contained in:
Stenzek 2024-09-07 20:19:28 +10:00
parent 95f93b93c7
commit e4570920b5
No known key found for this signature in database

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.