Validate parameters for using OpenCL version, before upload UMat

This commit is contained in:
vbystricky
2014-01-16 15:44:35 +04:00
parent 4152135e63
commit 33fc46cdec
3 changed files with 40 additions and 42 deletions

View File

@@ -3841,6 +3841,8 @@ struct Image2D::Impl
{
Impl(const UMat &src)
{
handle = 0;
refcount = 1;
init(src);
}
~Impl()