diff --git a/src/osgPlugins/dds/ReaderWriterDDS.cpp b/src/osgPlugins/dds/ReaderWriterDDS.cpp index eb2f9217b..0cc659fe9 100644 --- a/src/osgPlugins/dds/ReaderWriterDDS.cpp +++ b/src/osgPlugins/dds/ReaderWriterDDS.cpp @@ -982,7 +982,7 @@ osg::Image* ReadDDSFile(std::istream& _istream, bool flipDDSRead) } } - OSG_NOTICE<<"ReadDDS, dataType = 0x"<setOrigin(osg::Image::BOTTOM_LEFT); if (!isDXTC || ((s>4 && s%4==0 && t>4 && t%4==0) || s<4)) // Flip may crash (access violation) or fail for non %4 dimensions (except for s<4). Tested with revision trunk 2013-02-22. { - OSG_NOTICE<<"Flipping dds on load"<flipVertical(); } else @@ -1064,7 +1064,7 @@ bool WriteDDSFile(const osg::Image *img, std::ostream& fout, bool autoFlipDDSWri unsigned int pixelSize = osg::Image::computePixelSizeInBits(pixelFormat, dataType); unsigned int imageSize = img->getTotalSizeInBytes(); - OSG_NOTICE<<"WriteDDS, dataType = 0x"< source; if (autoFlipDDSWrite && img->getOrigin() == osg::Image::BOTTOM_LEFT) { - OSG_NOTICE<<"Flipping dds image on write"< copy( new osg::Image(*img,osg::CopyOp::DEEP_COPY_ALL) ); const int s(copy->s());