mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 14:27:40 +00:00
Read title_screen screenshots from the high-res render target.
This commit is contained in:
parent
5877371d70
commit
d45440f2ae
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user