]> git.cworth.org Git - apitrace/blobdiff - thirdparty/khronos/GL/glext.sed
Use patch instead of sed for glext.h tweaks.
[apitrace] / thirdparty / khronos / GL / glext.sed
diff --git a/thirdparty/khronos/GL/glext.sed b/thirdparty/khronos/GL/glext.sed
deleted file mode 100644 (file)
index bc4835d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# MacOSX doesn't follow the official glext.h definition for GLhandleARB, and
-# instead defines it as:
-#
-#   typedef void *GLhandleARB;
-#
-# But to avoid integer to pointer conversion issues, we simply use 'unsigned
-# long' which should be the same size on all supported architectures.
-
-/^typedef unsigned int GLhandleARB;$/ {
-
-    i\
-#ifdef __APPLE__\
-typedef unsigned long GLhandleARB;\
-#else
-
-    a\
-#endif
-
-}