This commit is contained in:
Ilya Lavrenov
2014-01-30 00:19:18 +04:00
parent 6fa41c5a64
commit 6d64907f18
2 changed files with 3 additions and 3 deletions

View File

@@ -3299,7 +3299,7 @@ public:
CV_Assert(u->handle != 0 && u->urefcount == 0);
if(u->tempUMat())
{
UMatDataAutoLock lock(u);
// UMatDataAutoLock lock(u);
if( u->hostCopyObsolete() && u->refcount > 0 )
{
cl_command_queue q = (cl_command_queue)Queue::getDefault().ptr();