Make highgui.hpp independent from C API
This commit is contained in:
@@ -130,7 +130,7 @@ int main( int argc, const char** argv )
|
||||
// Call to update the view
|
||||
onTrackbar(0, 0);
|
||||
|
||||
int c = cvWaitKey(0) & 255;
|
||||
int c = waitKey() & 255;
|
||||
|
||||
if( c == 27 )
|
||||
break;
|
||||
|
Reference in New Issue
Block a user