Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-28 15:54:57 +0000
committerStijn Buys <ingar@osirion.org>2012-01-28 15:54:57 +0000
commit986ca13bdbc90bccf8c3e7c05e5c809dea1551fc (patch)
treeaa91eb5678fd8b63d50cb23c904e4ada3f24a888 /src/render/pngfile.cc
parent47c565443b9a09344f58a0639d0de5693fbaec31 (diff)
Added function to write savegame screenshots,
moved client notification from the individual image loaders to the screenshot function.
Diffstat (limited to 'src/render/pngfile.cc')
-rw-r--r--src/render/pngfile.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/render/pngfile.cc b/src/render/pngfile.cc
index da786ec..70833f3 100644
--- a/src/render/pngfile.cc
+++ b/src/render/pngfile.cc
@@ -20,7 +20,6 @@ http://www.zarb.org/~gc/html/libpng.html
#include "sys/sys.h"
#include "filesystem/filesystem.h"
#include "render/pngfile.h"
-#include "core/application.h"
namespace render
{
@@ -194,11 +193,6 @@ void PNG::save(const char *filename, Image & image)
fclose(png_file);
png_destroy_write_struct(&png_ptr, &info_ptr);
- //con_print << "Wrote " << filename << std::endl;
- std::string message;
- message.assign("Wrote ");
- message.append(filename);
- core::application()->notify_message(core::Message::Info, message);
}
}