Merge pull request #114 from luckykatahanas/master
distancefieldfonts: fix SaschaWillems/Vulkan#113
This commit is contained in:
commit
11f31c6575
1 changed files with 2 additions and 2 deletions
|
|
@ -164,8 +164,8 @@ public:
|
||||||
std::stringbuf sbuf((const char*)fileData);
|
std::stringbuf sbuf((const char*)fileData);
|
||||||
std::istream istream(&sbuf);
|
std::istream istream(&sbuf);
|
||||||
#else
|
#else
|
||||||
FILE *file = fopen(fileName.c_str(), "r");
|
std::filebuf fileBuffer;
|
||||||
std::filebuf fileBuffer(file);
|
fileBuffer.open(fileName, std::ios::in);
|
||||||
std::istream istream(&fileBuffer);
|
std::istream istream(&fileBuffer);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue