Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/screenshot.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/screenshot.cc b/src/render/screenshot.cc
index 45e2299..ea2659b 100644
--- a/src/render/screenshot.cc
+++ b/src/render/screenshot.cc
@@ -111,7 +111,7 @@ void Screenshot::save()
image.flip();
if (filetype == TYPEPNG) {
- render::PNG::save(filenamestr.str().c_str(), image);
+ render::PNG::save(filename.c_str(), image);
} else if (filetype == TYPEJPG) {
render::JPG::save(filename.c_str(), image, (int) screenshotquality->value());
} else if (filetype == TYPETGA) {