Skip to content

Instantly share code, notes, and snippets.

@Muhammad-Yunus
Created September 19, 2021 01:36
Show Gist options
  • Save Muhammad-Yunus/2981f35eda97228525203b5d1be2570f to your computer and use it in GitHub Desktop.
Save Muhammad-Yunus/2981f35eda97228525203b5d1be2570f to your computer and use it in GitHub Desktop.
Jetson Nano OpenGL Patches
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