|
|
|
@ -752,7 +752,7 @@ typedef struct CvBigFuncTable |
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
|
|
// Deprecated
|
|
|
|
|
// < Deprecated
|
|
|
|
|
|
|
|
|
|
class CV_EXPORTS CvOpenGlFuncTab |
|
|
|
|
{ |
|
|
|
@ -779,6 +779,18 @@ CV_EXPORTS void icvSetOpenGlFuncTab(const CvOpenGlFuncTab* tab); |
|
|
|
|
|
|
|
|
|
CV_EXPORTS bool icvCheckGlError(const char* file, const int line, const char* func = ""); |
|
|
|
|
|
|
|
|
|
// >
|
|
|
|
|
|
|
|
|
|
namespace cv { namespace ogl { |
|
|
|
|
CV_EXPORTS bool checkError(const char* file, const int line, const char* func = ""); |
|
|
|
|
}} |
|
|
|
|
|
|
|
|
|
#if defined(__GNUC__) |
|
|
|
|
#define CV_CheckGlError() CV_DbgAssert( (cv::ogl::checkError(__FILE__, __LINE__, __func__)) ) |
|
|
|
|
#else |
|
|
|
|
#define CV_CheckGlError() CV_DbgAssert( (cv::ogl::checkError(__FILE__, __LINE__)) ) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#endif //__cplusplus
|
|
|
|
|
|
|
|
|
|
#endif // __OPENCV_CORE_INTERNAL_HPP__
|
|
|
|
|