From 55a3aff337fe2823676c31f2bf44b3dbc39de9fc Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 6 Oct 2026 20:10:07 +0200 Subject: [PATCH] gl: fix screenshots and recordings --- rpcs3/Emu/RSX/GL/GLPresent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/GLPresent.cpp b/rpcs3/Emu/RSX/GL/GLPresent.cpp index 1332b6a7a1..9cb417269f 100644 --- a/rpcs3/Emu/RSX/GL/GLPresent.cpp +++ b/rpcs3/Emu/RSX/GL/GLPresent.cpp @@ -373,7 +373,8 @@ void GLGSRender::flip(const rsx::display_flip_info_t& info) std::vector sshot_frame(buffer_height * buffer_width * 4); glGetError(); - tex->copy_to(std::span(sshot_frame), gl::texture::format::rgba, gl::texture::type::ubyte, pack_settings); + const coord3u region = { {}, { buffer_width, buffer_height, 1 } }; + tex->copy_to(std::span(sshot_frame), gl::texture::format::rgba, gl::texture::type::ubyte, 0, region, pack_settings); m_sshot_tex.reset();