Read title_screen screenshots from the high-res render target.

This commit is contained in:
Tommy 2022-05-03 16:56:29 +12:00
parent 5877371d70
commit d45440f2ae

View File

@ -109,7 +109,7 @@ static void launch_lua_console()
static void make_screenshot()
{
surface screenshot = CVideo::get_singleton().getDrawingSurface().clone();
surface screenshot = CVideo::get_singleton().read_pixels();
if(screenshot) {
std::string filename = filesystem::get_screenshot_dir() + "/" + _("Screenshot") + "_";
filename = filesystem::get_next_filename(filename, ".jpg");