Skip to content

Commit

Permalink
Moved "Wrote screenshot..." message from log_debug to log_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Oct 4, 2014
1 parent 55b445b commit 472dee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video/gl/gl_renderer.cpp
Expand Up @@ -200,7 +200,7 @@ GLRenderer::do_take_screenshot()
fullFilename = writeDir + dirSep + fileName;
if (!PHYSFS_exists(fileName.c_str())) {
SDL_SaveBMP(shot_surf, fullFilename.c_str());
log_debug << "Wrote screenshot to \"" << fullFilename << "\"" << std::endl;
log_info << "Wrote screenshot to \"" << fullFilename << "\"" << std::endl;
SDL_FreeSurface(shot_surf);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/video/sdl/sdl_renderer.cpp
Expand Up @@ -219,7 +219,7 @@ SDLRenderer::do_take_screenshot()
fullFilename = writeDir + dirSep + fileName;
if (!PHYSFS_exists(fileName.c_str())) {
SDL_SaveBMP(surface, fullFilename.c_str());
log_debug << "Wrote screenshot to \"" << fullFilename << "\"" << std::endl;
log_info << "Wrote screenshot to \"" << fullFilename << "\"" << std::endl;
return;
}
}
Expand Down

0 comments on commit 472dee5

Please sign in to comment.