From b5382108041dd195479497122a97d433552ca0de Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 15 Mar 2012 15:08:21 +0000 Subject: [PATCH] Fixed Linux build with OpenGL but without CUDA --- modules/core/src/opengl_interop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/opengl_interop.cpp b/modules/core/src/opengl_interop.cpp index 10375d06d5..4bae3386cf 100644 --- a/modules/core/src/opengl_interop.cpp +++ b/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()