Ask Your Question

Revision history [back]

Hi, one year after I have got same error. Program is OK in release mode and not in debug mode with windows 7-64 bits and VS 2013 and opencv-3.0.

Problem is relative this call at line 1347 of core/src/opengl.cpp

gl::EnableClientState(gl::TEXTURE_COORD_ARRAY);

gl::GetError(); return gl::INVALID_ENUM. In opengl docs this message is for

GL_INVALID_ENUM

        An unacceptable value is specified for an enumerated argument. The offending command is ignored and has no other side effect than to set the error flag.

* So I understand this message as it's only a warning. If you disable this check in opengl.cpp I can see an image in debug like in release mode. Is it necessary to send an assertion for this value?