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