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::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.c_str(), std::ios_base::in);
|
||||||
std::istream istream(&fileBuffer);
|
std::istream istream(&fileBuffer);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue