Created
September 19, 2021 01:36
-
-
Save Muhammad-Yunus/2981f35eda97228525203b5d1be2570f to your computer and use it in GitHub Desktop.
Jetson Nano OpenGL Patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/cuda_gl_interop.h b/cuda_gl_interop.h | |
| index 0f4aa17..e8c538c 100644 | |
| --- a/cuda_gl_interop.h | |
| +++ b/cuda_gl_interop.h | |
| @@ -59,13 +59,13 @@ | |
| #else /* __APPLE__ */ | |
| -#if defined(__arm__) || defined(__aarch64__) | |
| -#ifndef GL_VERSION | |
| -#error Please include the appropriate gl headers before including cuda_gl_interop.h | |
| -#endif | |
| -#else | |
| +//#if defined(__arm__) || defined(__aarch64__) | |
| +//#ifndef GL_VERSION | |
| +//#error Please include the appropriate gl headers before including cuda_gl_interop.h | |
| +//#endif | |
| +//#else | |
| #include <GL/gl.h> | |
| -#endif | |
| +//#endif | |
| #endif /* __APPLE__ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment