Drop outdated definitions from internal.hpp
This also fixes few clang build errors
This commit is contained in:
@@ -1107,8 +1107,7 @@ cvShowImage( const char* name, const CvArr* arr )
|
||||
#ifdef HAVE_OPENGL
|
||||
if (window->useGl)
|
||||
{
|
||||
cv::Mat im(image);
|
||||
cv::imshow(name, im);
|
||||
cv::imshow(name, cv::cvarrToMat(image));
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user