summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2003-12-04 20:55:58 +0000
committerKarl Schultz <kschultz@freedesktop.org>2003-12-04 20:55:58 +0000
commit9b9a57a25cc63200a7ec86c96433924351674650 (patch)
tree6938042447a07dbe582242e4ff2b3b70e58ca3f1 /src/mesa/main/glheader.h
parentfed1cda2ade715a62ffd57be18ece18cc3934f51 (diff)
Change
#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.
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r--src/mesa/main/glheader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index dc2860fab8..c0123d6cfe 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -107,9 +107,9 @@
# 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