mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 18:43:05 +08:00
Merge pull request #13053 from berak:highgui_win32_waitkey
This commit is contained in:
commit
572af7640f
@ -1976,7 +1976,7 @@ cvWaitKey( int delay )
|
||||
MSG message;
|
||||
int is_processed = 0;
|
||||
|
||||
if( delay <= 0 )
|
||||
if( (delay <= 0) && hg_windows)
|
||||
GetMessage(&message, 0, 0, 0);
|
||||
else if( PeekMessage(&message, 0, 0, 0, PM_REMOVE) == FALSE )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user