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