diff options
| author | Matthew Parlane <parlane@gmail.com> | 2013-11-05 00:33:41 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2013-11-05 00:33:41 +1300 |
| commit | e15f6289354bb815edbb7cf7925e47c5216a844e (patch) | |
| tree | 237c468b7cef538f48cdd534d8704dd4dd84a4d0 /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp | |
| parent | 3f1ea21e4fabdd672bd33ed01a8d1495ec5056e7 (diff) | |
Fix {Read,Write}FileToString.
We should be using binary always.
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp index 211244c457..daea0bfca1 100644 --- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp @@ -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; |
