mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Bugfix taking screenshots of rotated framebuffers, common in Vulkan on many Android devices
This commit is contained in:
1 parent
6fcb75ce63
commit
271d2b41fa
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user