Permalink
Browse files

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

  • Loading branch information...
1 parent f3eefeb commit b2102bfe49002f1ac10ca8288f5337e9feec7f65 @BlockMen BlockMen committed Sep 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game.cpp
View
@@ -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",

0 comments on commit b2102bf

Please sign in to comment.