diff options
author | Rodeo <[email protected]> | 2015-07-04 22:53:55 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-07-04 22:53:55 +0000 |
commit | a3bda1e2778f7741a125761c5ce38d33d5e16eba (patch) | |
tree | a6e7392abad7e2992e1ddc32aa07d6fab566745d /libhb/openclwrapper.c | |
parent | d6c21b5ec1f3d5c5f97987e442b949686d925bba (diff) |
OpenCL: fix cleanup.
OpenCL buffer mapping was not disabled during cleanup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7342 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/openclwrapper.c')
-rw-r--r-- | libhb/openclwrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/openclwrapper.c b/libhb/openclwrapper.c index 2adb183bb..9621d3a97 100644 --- a/libhb/openclwrapper.c +++ b/libhb/openclwrapper.c @@ -668,6 +668,7 @@ int hb_release_opencl_env( GPUEnv *gpu_info ) } isInited = 0; + useBuffers = 0; gpu_info->isUserCreated = 0; return 1; |