Skip to content

Commit cb90953

Browse files
committed
Enable OpenGL functions
1 parent 2e8257b commit cb90953

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

binding-generator/src/settings.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ pub static FUNC_CFG_ATTR: Lazy<HashMap<&str, (&str, &str)>> = Lazy::new(|| hashm
553553
pub static ELEMENT_EXCLUDE: Lazy<RegexSet> = Lazy::new(|| RegexSet::new([
554554
"^cv::String$",
555555
"^cv::internal::format$", // 3.2 duplicate definition
556-
"^cv::ogl::",
557556
"^cv::face::FacemarkLBF::BBox$", // not used, not exported in windows dll
558557
].iter()).expect("Can't compile regexes"));
559558

@@ -570,7 +569,6 @@ pub static ELEMENT_IGNORE: Lazy<RegexSet> = Lazy::new(|| RegexSet::new([
570569
"^cv::MatAllocator$", // doesn't handle cpp part too well
571570
"^cv::NAryMatIterator", // uses pointers of pointers
572571
"^cv::Node$", // template class
573-
"^cv::ogl::",
574572
"^std::exception_ptr$",
575573
"^std::random_access_iterator_tag$",
576574
].iter()).expect("Can't compile regexes"));

src_cpp/core.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <opencv2/core/ocl.hpp>
55
#include <opencv2/core/va_intel.hpp>
66
#include <opencv2/core/cuda.hpp>
7-
//#include <opencv2/core/opengl.hpp> // todo
7+
#include <opencv2/core/opengl.hpp>
88
#if !(CV_VERSION_MAJOR == 3 && CV_VERSION_MINOR == 2)
99
#include <opencv2/core/async.hpp>
1010
#include <opencv2/core/bindings_utils.hpp>

0 commit comments

Comments
 (0)