Move TextureDecoder.cl from User to Sys

This commit is contained in:
Pierre Bourdon
2013-09-12 03:44:16 +02:00
parent c3eec379df
commit 91a758b342
3 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,7 @@
#include "OCLTextureDecoder.h"
#include "../OpenCL.h"
#include "CommonPaths.h"
#include "FileUtil.h"
#include <fcntl.h>
@ -138,7 +139,7 @@ void TexDecoder_OpenCL_Initialize()
if (err)
{
std::string code;
filename = File::GetUserPath(D_OPENCL_IDX) + "TextureDecoder.cl";
filename = File::GetSysDirectory() + OPENCL_DIR DIR_SEP "TextureDecoder.cl";
if (!File::ReadFileToString(true, filename.c_str(), code))
{
ERROR_LOG(VIDEO, "Failed to load OpenCL code %s - file is missing?", filename.c_str());