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:
@@ -108,7 +108,7 @@ int *numComponents_ret)
|
||||
unsigned char palette[256][3];
|
||||
unsigned char * tmpbuf, * buffer, * ptr;
|
||||
|
||||
FILE *fp = fopen(filename, "rb");
|
||||
FILE *fp = osgDB::fopen(filename, "rb");
|
||||
if (!fp) return NULL;
|
||||
|
||||
picerror = ERROR_NO_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user