Commit b5382108 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed Linux build with OpenGL but without CUDA

parent 8fcd060d
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment