Change
authorKarl Schultz <kschultz@freedesktop.org>
Thu, 4 Dec 2003 20:55:58 +0000 (20:55 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Thu, 4 Dec 2003 20:55:58 +0000 (20:55 +0000)
#define GLAPIENTRYP __stdcall *
to
#define GLAPIENTRYP GLAPIENTRY *
These two defs end up doing the same thing, but the compiler can squawk
because they look different.  Also matches the way it is declared in gl.h.
Do same for GLCALLBACKP.

src/mesa/main/glheader.h

index dc2860f..c0123d6 100644 (file)
 #    define WGLAPI __declspec(dllimport)
 #  endif /* _STATIC_MESA support */
 #  define GLAPIENTRY __stdcall
-#  define GLAPIENTRYP __stdcall *
+#  define GLAPIENTRYP GLAPIENTRY *
 #  define GLCALLBACK __stdcall
-#  define GLCALLBACKP __stdcall *
+#  define GLCALLBACKP GLCALLBACK *
 #  if defined(__CYGWIN__)
 #    define GLCALLBACKPCAST *
 #  else