mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-24 22:55:41 +00:00
GPU: Fix internal res screenshot AR with None cropping
This commit is contained in:
parent
95f93b93c7
commit
e4570920b5
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue