Don't save alpha channel in screenshots (fixes #1451)

master
BlockMen 2014-09-03 03:51:49 +02:00
parent f3eefeb794
commit b2102bfe49
1 changed files with 1 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
}
else if(input->wasKeyDown(getKeySetting("keymap_screenshot")))
{
irr::video::IImage* const image = driver->createScreenShot();
irr::video::IImage* const image = driver->createScreenShot(video::ECF_R8G8B8);
if (image) {
irr::c8 filename[256];
snprintf(filename, 256, "%s" DIR_DELIM "screenshot_%u.png",