- Timestamp:
- 05/13/10 13:01:06 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/png/ReaderWriterPNG.cpp
r11121 r11428 365 365 if (fileName.empty()) return ReadResult::FILE_NOT_FOUND; 366 366 367 std::ifstream istream(fileName.c_str(), std::ios::in | std::ios::binary);367 osgDB::ifstream istream(fileName.c_str(), std::ios::in | std::ios::binary); 368 368 if(!istream) return ReadResult::FILE_NOT_HANDLED; 369 369 ReadResult rr = readPNGStream(istream); … … 383 383 if (!acceptsExtension(ext)) return WriteResult::FILE_NOT_HANDLED; 384 384 385 std::ofstream fout(fileName.c_str(), std::ios::out | std::ios::binary);385 osgDB::ofstream fout(fileName.c_str(), std::ios::out | std::ios::binary); 386 386 if(!fout) return WriteResult::ERROR_IN_WRITING_FILE; 387 387
