mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -45,6 +45,13 @@
|
||||
#ifdef HAVE_OPENGL
|
||||
# include "gl_core_3_1.hpp"
|
||||
# ifdef HAVE_CUDA
|
||||
# if (defined(__arm__) || defined(__aarch64__)) \
|
||||
&& !defined(OPENCV_SKIP_CUDA_OPENGL_ARM_WORKAROUND)
|
||||
# include <GL/gl.h>
|
||||
# ifndef GL_VERSION
|
||||
# define GL_VERSION 0x1F02
|
||||
# endif
|
||||
# endif
|
||||
# include <cuda_gl_interop.h>
|
||||
# endif
|
||||
#else // HAVE_OPENGL
|
||||
|
||||
Reference in New Issue
Block a user