| 926 | #endif // HAVE_OPENGL |
| 927 | |
| 928 | cv::ogl::Texture2D::Texture2D() : rows_(0), cols_(0), format_(NONE) |
| 929 | { |
| 930 | #ifndef HAVE_OPENGL |
| 931 | throw_nogl(); |
| 932 | #else |
| 933 | impl_ = Impl::empty(); |
| 934 | #endif |
| 935 | } |
| 936 | |
| 937 | cv::ogl::Texture2D::Texture2D(int arows, int acols, Format aformat, unsigned int atexId, bool autoRelease) : rows_(0), cols_(0), format_(NONE) |
| 938 | { |
nothing calls this directly
no test coverage detected