summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
diff options
context:
space:
mode:
authordok.slade <dok.slade@gmail.com>2026-11-15 14:11:44 +0000
committerdok.slade <dok.slade@gmail.com>2026-11-15 14:24:38 +0000
commitc6c57d5709ec372272d1ac0f17a0539b3832de92 (patch)
tree5a21a9a9cc6c5485691ac4f0d86918149bd660da /Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
parentf7a0bf5bd6c09233d56ff765cc2823da1586d4d4 (diff)
VideoCommon: Fix OpenGL screenshots of partial XFB copies
ScaleTexture flipped its rectangles for backends with a lower-left origin, but textures are stored top row first and the copy shader keeps the row order, so the flip is only a no-op for full rectangles. With a sub-rectangle, OpenGL frame dumps and screenshots read the bottom of the texture instead of the top, and came out shifted up with a black band at the bottom. Pass the rectangles through unchanged. Other backends and callers using full rectangles are not affected. Fixes https://bugs.dolphin-emu.org/issues/12286
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp')
0 files changed, 0 insertions, 0 deletions