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::istream istream(&sbuf);
|
||||
#else
|
||||
FILE *file = fopen(fileName.c_str(), "r");
|
||||
std::filebuf fileBuffer(file);
|
||||
std::filebuf fileBuffer;
|
||||
fileBuffer.open(fileName, std::ios::in);
|
||||
std::istream istream(&fileBuffer);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue