summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-11-27 03:29:39 +0000
committerBrian Paul <[email protected]>2004-11-27 03:29:39 +0000
commit911a8bc62cb274b3264bc85ad65f3c8ad03796d9 (patch)
tree6a706a528f18b176cbb6c9341e13e78a6d89d46d
parent39c86eac9bc4215c617f57e7fa0761a1a5068c64 (diff)
remove the GLAPI/GLAPIENTRY defines - they're already in gl.h
-rw-r--r--src/mesa/main/glheader.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 65901c7b818..6bc81fc6ab3 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -102,24 +102,12 @@
# endif
# endif
# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
-# define GLAPI __declspec(dllexport)
# define WGLAPI __declspec(dllexport)
# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
-# define GLAPI __declspec(dllimport)
# define WGLAPI __declspec(dllimport)
# else /* for use with static link lib build of Win32 edition only */
-# define GLAPI extern
# define WGLAPI __declspec(dllimport)
# endif /* _STATIC_MESA support */
-# define GLAPIENTRY __stdcall
-# define GLAPIENTRYP GLAPIENTRY *
-#elif !defined(BUILD_FOR_SNAP)
-/* non-Windows compilation */
-# define GLAPI extern
-# define GLAPIENTRY
-# ifndef GLAPIENTRYP
-# define GLAPIENTRYP *
-# endif
#endif /* WIN32 / CYGWIN bracket */