Fix win flags with opencv2
This commit is contained in:
parent
3dc21c0378
commit
4892f52158
|
@ -18,8 +18,12 @@
|
||||||
|
|
||||||
#include "mynteye/api.h"
|
#include "mynteye/api.h"
|
||||||
|
|
||||||
|
#ifdef USE_OPENCV3
|
||||||
#define WIN_FLAGS \
|
#define WIN_FLAGS \
|
||||||
cv::WINDOW_AUTOSIZE | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_NORMAL
|
cv::WINDOW_AUTOSIZE | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_NORMAL
|
||||||
|
#else
|
||||||
|
#define WIN_FLAGS cv::WINDOW_AUTOSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,12 @@
|
||||||
#include "util/cv_painter.h"
|
#include "util/cv_painter.h"
|
||||||
#include "util/pc_viewer.h"
|
#include "util/pc_viewer.h"
|
||||||
|
|
||||||
|
#ifdef USE_OPENCV3
|
||||||
#define WIN_FLAGS \
|
#define WIN_FLAGS \
|
||||||
cv::WINDOW_AUTOSIZE | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_NORMAL
|
cv::WINDOW_AUTOSIZE | cv::WINDOW_KEEPRATIO | cv::WINDOW_GUI_NORMAL
|
||||||
|
#else
|
||||||
|
#define WIN_FLAGS cv::WINDOW_AUTOSIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user