mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
Fixed Linux build with OpenGL but without CUDA
This commit is contained in:
parent
8fcd060dec
commit
b538210804
@ -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…
Reference in New Issue
Block a user