Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created June 23, 2020 05:04
Show Gist options
  • Select an option

  • Save awesomebytes/90d8a1c74b90b09c11434ae87f5cc8a1 to your computer and use it in GitHub Desktop.

Select an option

Save awesomebytes/90d8a1c74b90b09c11434ae87f5cc8a1 to your computer and use it in GitHub Desktop.
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