Created
June 23, 2020 05:04
-
-
Save awesomebytes/90d8a1c74b90b09c11434ae87f5cc8a1 to your computer and use it in GitHub Desktop.
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