Skip to content

Commit

Permalink
Don't save alpha channel in screenshots (fixes #1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockMen committed Sep 3, 2014
1 parent f3eefeb commit b2102bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -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",
Expand Down

0 comments on commit b2102bf

Please sign in to comment.