fix for issue 3858 (remove unneeded #include's)

also use correct include path on Linux
pull/3202/head
Igor Kuzmin 10 years ago
parent faed8f43d6
commit fbbf4e380f
  1. 8
      modules/highgui/src/cap_ximea.cpp

@ -1,8 +1,10 @@
#include "precomp.hpp" #include "precomp.hpp"
#ifdef WIN32
#include "xiApi.h" #include "xiApi.h"
#include "xiExt.h" #else
#include "m3Api.h" #include <m3api/xiApi.h>
#endif
/**********************************************************************************/ /**********************************************************************************/
@ -156,7 +158,7 @@ bool CvCaptureCAM_XIMEA::grabFrame()
image.size = sizeof(XI_IMG); image.size = sizeof(XI_IMG);
int mvret = xiGetImage( hmv, timeout, &image); int mvret = xiGetImage( hmv, timeout, &image);
if(mvret == MM40_ACQUISITION_STOPED) if(mvret == XI_ACQUISITION_STOPED)
{ {
xiStartAcquisition(hmv); xiStartAcquisition(hmv);
mvret = xiGetImage(hmv, timeout, &image); mvret = xiGetImage(hmv, timeout, &image);

Loading…
Cancel
Save