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:
@@ -6,6 +6,7 @@
|
||||
#include "osgDB/Registry"
|
||||
#include "osgDB/Input"
|
||||
#include "osgDB/Output"
|
||||
#include "osgDB/fstream"
|
||||
|
||||
#include "Matrix.h"
|
||||
|
||||
@@ -85,7 +86,7 @@ bool VertexProgram_readLocalData(Object& obj, Input& fr)
|
||||
fr+=2;
|
||||
iteratorAdvanced = true;
|
||||
|
||||
ifstream vfstream( filename.c_str() );
|
||||
osgDB::ifstream vfstream( filename.c_str() );
|
||||
|
||||
if( vfstream )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user