summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpcodeDecoding.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
index 3e04c71266..8985814309 100644
--- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
@@ -43,6 +43,9 @@
#include "DataReader.h"
#include "OpenCL.h"
+#if defined(HAVE_OPENCL) && HAVE_OPENCL
+#include "OpenCL/OCLTextureDecoder.h"
+#endif
u8* g_pVideoData = 0;
@@ -383,6 +386,7 @@ void OpcodeDecoder_Init()
#if defined(HAVE_OPENCL) && HAVE_OPENCL
OpenCL::Initialize();
+ TexDecoder_OpenCL_Initialize();
#endif
}
@@ -391,6 +395,7 @@ void OpcodeDecoder_Shutdown()
{
#if defined(HAVE_OPENCL) && HAVE_OPENCL
OpenCL::Destroy();
+ TexDecoder_OpenCL_Shutdown();
#endif
}