From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
This commit is contained in:
@@ -230,7 +230,7 @@ class LOGOReaderWriter : public osgDB::ReaderWriter
|
||||
Logos::RelativePosition pos = Logos::LowerRight;
|
||||
|
||||
FILE *fp;
|
||||
if( (fp = fopen( fileName.c_str(), "r")) == NULL )
|
||||
if( (fp = osgDB::fopen( fileName.c_str(), "r")) == NULL )
|
||||
return NULL;
|
||||
while( !feof(fp))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user