summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.cpp
diff options
context:
space:
mode:
authorDuane Bailey <nayryeliab@gmail.com>2005-09-22 23:28:58 +0000
committerDuane Bailey <nayryeliab@gmail.com>2005-09-22 23:28:58 +0000
commit6e383d8867081d3ec6b57b4d2f171a4382e83195 (patch)
tree3c658e7e8068f7f0a13c8434dd1fac0e47b43ab1 /src/resources/imagewriter.cpp
parent59796855784a34e35d09c5cb3750dd5a9b421c10 (diff)
downloadmana-6e383d8867081d3ec6b57b4d2f171a4382e83195.tar.gz
mana-6e383d8867081d3ec6b57b4d2f171a4382e83195.tar.bz2
mana-6e383d8867081d3ec6b57b4d2f171a4382e83195.tar.xz
mana-6e383d8867081d3ec6b57b4d2f171a4382e83195.zip
removed win2mac support
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r--src/resources/imagewriter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp
index 7cfa16b4..93f834f2 100644
--- a/src/resources/imagewriter.cpp
+++ b/src/resources/imagewriter.cpp
@@ -56,8 +56,6 @@ bool ImageWriter::writePNG(SDL_Surface *surface,
return false;
}
- info_ptr = png_create_info_struct(png_ptr);
- if (!info_ptr)
{
png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
logger->log("Could not create png_info");