Fixed Linux build with OpenGL but without CUDA

This commit is contained in:
Andrey Kamaev 2012-03-15 15:08:21 +00:00
parent 8fcd060dec
commit b538210804

View File

@ -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()