Fixed Linux build with OpenGL but without CUDA

pull/13383/head
Andrey Kamaev 13 years ago
parent 8fcd060dec
commit b538210804
  1. 4
      modules/core/src/opengl_interop.cpp

@ -113,13 +113,13 @@ namespace
const CvOpenGlFuncTab* g_glFuncTab = 0;
#ifdef HAVE_CUDA
//#ifdef HAVE_CUDA
const CvOpenGlFuncTab* glFuncTab()
{
static EmptyGlFuncTab empty;
return g_glFuncTab ? g_glFuncTab : ∅
}
#endif
//#endif
}
CvOpenGlFuncTab::~CvOpenGlFuncTab()

Loading…
Cancel
Save