Fix build on Windows with OpenGl enabled

There was missing windows.h include in OpenGL interop code.
pull/146/head
Andrey Kamaev 13 years ago
parent 6484732509
commit 8c9c2b3a03
  1. 8
      modules/core/src/opengl_interop.cpp

@ -45,6 +45,14 @@
#include "opencv2/core/opengl_interop.hpp"
#include "opencv2/core/gpumat.hpp"
#if defined WIN32 || defined _WIN32 || defined WINCE
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#endif
#ifdef HAVE_OPENGL
#ifdef __APPLE__
#include <OpenGL/gl.h>

Loading…
Cancel
Save