Modified files reflect small changes to work with Sun OS port....

Removed redundant README file in osgviews... was a copy of sgv/README.
This commit is contained in:
Don BURNS
2002-03-21 07:50:14 +00:00
parent 9836af1055
commit 3816a4fcfc
6 changed files with 13 additions and 34 deletions

View File

@@ -64,7 +64,7 @@ class ReaderWriterQT : public osgDB::ReaderWriter
// origDepth in BYTES, buffDepth in BITS
if (pixels == 0) {
cerr << "LoadBufferFromDarwinPath failed " << fileName.c_str() << QTfailureMessage() << endl;
std::cerr << "LoadBufferFromDarwinPath failed " << fileName.c_str() << QTfailureMessage() << std::endl;
return 0;
}
@@ -84,7 +84,7 @@ class ReaderWriterQT : public osgDB::ReaderWriter
pixelFormat = GL_RGBA;
break;
default :
cerr << "Unknown file type in " << fileName.c_str() << " with " << origDepth << endl;
std::cerr << "Unknown file type in " << fileName.c_str() << " with " << origDepth << std::endl;
pixelFormat = (GLenum)-1;
return 0;
break;
@@ -145,7 +145,7 @@ class ReaderWriterQT : public osgDB::ReaderWriter
}
break;
default :
// cerr << "ERROR IN RETURNED PIXEL DEPTH, CANNOT COPE" << endl;
// std::cerr << "ERROR IN RETURNED PIXEL DEPTH, CANNOT COPE" << std::endl;
return 0;
break;
}
@@ -162,7 +162,7 @@ class ReaderWriterQT : public osgDB::ReaderWriter
GL_UNSIGNED_BYTE,
pixels );
notify(INFO) << "image read ok "<<buffWidth<<" "<<buffHeight<<endl;
notify(INFO) << "image read ok "<<buffWidth<<" "<<buffHeight<<std::endl;
return image;
}