summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2010-02-13 10:09:54 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2010-02-13 10:09:54 +0000
commitc63446827f395934883e21de08586a83e1d9728f (patch)
treeecca06738812cfd502a91ae38548e69119653f6a /Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
parentdf1be33ba97ed03817ad174da0325d9fab0fb2f5 (diff)
Fix crash when stopping and starting a game with OpenCL enabled
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5047 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpcodeDecoding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
index 8511b38864..eab59281a1 100644
--- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
@@ -394,8 +394,8 @@ void OpcodeDecoder_Init()
void OpcodeDecoder_Shutdown()
{
#if defined(HAVE_OPENCL) && HAVE_OPENCL
- OpenCL::Destroy();
TexDecoder_OpenCL_Shutdown();
+ OpenCL::Destroy();
#endif
}