distancefieldfonts: fix SaschaWillems/Vulkan#113
This commit is contained in:
parent
a14f0f8f89
commit
06a29dabb1
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.c_str(), std::ios_base::in);
|
||||
std::istream istream(&fileBuffer);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue