mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Bugfix taking screenshots of rotated framebuffers, common in Vulkan on many Android devices
This commit is contained in:
parent
6fcb75ce63
commit
271d2b41fa
@ -346,7 +346,7 @@ bool TakeGameScreenshot(Draw::DrawContext *draw, const Path &filename, Screensho
|
||||
} else if (g_display.rotation != DisplayRotation::ROTATE_0) {
|
||||
_dbg_assert_(draw);
|
||||
GPUDebugBuffer temp;
|
||||
success = ::GetOutputFramebuffer(draw, buf);
|
||||
success = ::GetOutputFramebuffer(draw, temp);
|
||||
if (success) {
|
||||
buf = ApplyRotation(temp, g_display.rotation);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user