mirror of
https://github.com/opencv/opencv.git
synced 2026-09-19 15:23:23 -05:00
Updated DisplayImage.cpp program to compile
CV_WINDOW_AUTOSIZE -> WINDOW_AUTOSIZE
This commit is contained in:
@@ -41,7 +41,7 @@ Let's use a simple program such as DisplayImage.cpp shown below.
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
namedWindow( "Display Image", CV_WINDOW_AUTOSIZE );
|
namedWindow( "Display Image", WINDOW_AUTOSIZE );
|
||||||
imshow( "Display Image", image );
|
imshow( "Display Image", image );
|
||||||
|
|
||||||
waitKey(0);
|
waitKey(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user