diff --git a/src/osgPlugins/png/ReaderWriterPNG.cpp b/src/osgPlugins/png/ReaderWriterPNG.cpp index a2e231f61..59ee8b143 100644 --- a/src/osgPlugins/png/ReaderWriterPNG.cpp +++ b/src/osgPlugins/png/ReaderWriterPNG.cpp @@ -102,7 +102,7 @@ class ReaderWriterPNG : public osgDB::ReaderWriter data = (png_bytep) malloc(png_get_rowbytes(png, info)*height); row_p = (png_bytep *) malloc(sizeof(png_bytep)*height); - bool StandardOrientation = false; + bool StandardOrientation = true; for (i = 0; i < height; i++) { if (StandardOrientation)