From: Vladislav Vinogradov Date: Wed, 30 Nov 2011 07:38:45 +0000 (+0000) Subject: minor fix X-Git-Tag: accepted/2.0/20130307.220821~1574 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2697b18e2769143dacb0dfefd2fe2319fe14fd4;p=profile%2Fivi%2Fopencv.git minor fix --- diff --git a/modules/core/src/opengl_interop.cpp b/modules/core/src/opengl_interop.cpp index a635534..445cbe8 100644 --- a/modules/core/src/opengl_interop.cpp +++ b/modules/core/src/opengl_interop.cpp @@ -800,7 +800,7 @@ cv::GlTexture::Impl::Impl(const GlBuffer& buf, bool bgra) : tex_(0) int depth = buf.depth(); int cn = buf.channels(); - CV_DbgAssert(buf.rows > 0 && buf.cols > 0); + CV_DbgAssert(buf.rows() > 0 && buf.cols() > 0); CV_Assert(cn == 1 || cn == 3 || cn == 4); CV_Assert(depth >= 0 && depth <= CV_32F); CV_Assert(buf.usage() == GlBuffer::TEXTURE_BUFFER);