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
This commit is contained in:
Sonicadvance1 2010-02-13 10:09:54 +00:00
parent df1be33ba9
commit c63446827f
3 changed files with 8 additions and 1 deletions

View file

@ -394,8 +394,8 @@ void OpcodeDecoder_Init()
void OpcodeDecoder_Shutdown()
{
#if defined(HAVE_OPENCL) && HAVE_OPENCL
OpenCL::Destroy();
TexDecoder_OpenCL_Shutdown();
OpenCL::Destroy();
#endif
}