projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa93b72
)
minor fix
author
Vladislav Vinogradov
<no@email>
Wed, 30 Nov 2011 07:38:45 +0000
(07:38 +0000)
committer
Vladislav Vinogradov
<no@email>
Wed, 30 Nov 2011 07:38:45 +0000
(07:38 +0000)
modules/core/src/opengl_interop.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/opengl_interop.cpp
b/modules/core/src/opengl_interop.cpp
index
a635534
..
445cbe8
100644
(file)
--- 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();
\r
int cn = buf.channels();
\r
\r
- CV_DbgAssert(buf.rows
> 0 && buf.cols
> 0);
\r
+ CV_DbgAssert(buf.rows
() > 0 && buf.cols()
> 0);
\r
CV_Assert(cn == 1 || cn == 3 || cn == 4);
\r
CV_Assert(depth >= 0 && depth <= CV_32F);
\r
CV_Assert(buf.usage() == GlBuffer::TEXTURE_BUFFER);
\r