Fix {Read,Write}FileToString.

We should be using binary always.
This commit is contained in:
Matthew Parlane committed 2013-11-05 00:33:41 +13:00
1 parent 3f1ea21e4f
commit e15f628935
12 files changed
+35 -58

No files matched your search

@@ -140,7 +140,7 @@ void TexDecoder_OpenCL_Initialize()
{
std::string code;
filename = File::GetSysDirectory() + OPENCL_DIR DIR_SEP "TextureDecoder.cl";
if (!File::ReadFileToString(true, filename.c_str(), code))
if (!File::ReadFileToString(filename.c_str(), code))
{
ERROR_LOG(VIDEO, "Failed to load OpenCL code %s - file is missing?", filename.c_str());
return;