fix GpuMat::copyTo method with mask:
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Wed, 22 Jan 2014 06:40:14 +0000 (10:40 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Wed, 22 Jan 2014 06:40:14 +0000 (10:40 +0400)
commitdda999545c9dd1cca56081a4b2d56755210b840a
tree6d155df38edf22be5f9a034027c5a8f90efdc633
parenta548a0812936992553f6e8d54dee198ec50d1e70
fix GpuMat::copyTo method with mask:

fill destination matrix with zeros if it was reallocated
modules/core/src/gpumat.cpp