OpenGL interop sample reworked not ot use cvconfig.h

This commit is contained in:
Alexander Smorkalov
2014-12-30 16:45:46 +03:00
parent e02418e904
commit 091c7a3821
2 changed files with 7 additions and 9 deletions

View File

@@ -1,13 +1,4 @@
#include <iostream>
#include "cvconfig.h"
#ifndef HAVE_OPENGL
int main()
{
std::cerr << "Library was built without OpenGL support" << std::endl;
return -1;
}
#else
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN 1