diff options
author | Kendall Bennett <[email protected]> | 1999-11-11 03:21:43 +0000 |
---|---|---|
committer | Kendall Bennett <[email protected]> | 1999-11-11 03:21:43 +0000 |
commit | a73119234cc5d0b78ebd48c7bb7c43b755028836 (patch) | |
tree | 779e6e58ebad86bfac8f0a25b17e33cd759f3fbc /src/glu/mesa/nurbs.h | |
parent | cb5ecb883eb3be842ef44c61df8d4b527877c858 (diff) |
. Updated GL/gl.h with GLCALLACKP and GLAPIENTRYP macros for compatibility
with the IBM VisualAge C++ compiler. Eventually some more code will be
needed in the headers to enable the reversal of (__stdcall*) to (*__stdcall)
for the IBM compilers, however we currently build using our own header files
that already handle this.
. Changed instances of (GLCALLBACK*) to GLCALLBACKP for compatibility
with the IBM VisualAge C++ compiler in src-glu.
. Misc cleanups for warnings generated with Watcom C++ in src-glu. Compiles
with 0 warnings now.
. tess_hash.c: line 244 - Why is this function stubbed out? I removed the
code with a #if 0 to avoid a compiler warning, but it looks dangerous.
Diffstat (limited to 'src/glu/mesa/nurbs.h')
-rw-r--r-- | src/glu/mesa/nurbs.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/src/glu/mesa/nurbs.h b/src/glu/mesa/nurbs.h index fc2b4f7d557..3e38ea40068 100644 --- a/src/glu/mesa/nurbs.h +++ b/src/glu/mesa/nurbs.h @@ -1,4 +1,4 @@ -/* $Id: nurbs.h,v 1.1 1999/08/19 00:55:42 jtg Exp $ */ +/* $Id: nurbs.h,v 1.2 1999/11/11 03:21:43 kendallb Exp $ */ /* * Mesa 3-D graphics library @@ -23,8 +23,25 @@ /* * $Log: nurbs.h,v $ - * Revision 1.1 1999/08/19 00:55:42 jtg - * Initial revision + * Revision 1.2 1999/11/11 03:21:43 kendallb + * + * . Updated GL/gl.h with GLCALLACKP and GLAPIENTRYP macros for compatibility + * with the IBM VisualAge C++ compiler. Eventually some more code will be + * needed in the headers to enable the reversal of (__stdcall*) to (*__stdcall) + * for the IBM compilers, however we currently build using our own header files + * that already handle this. + * + * . Changed instances of (GLCALLBACK*) to GLCALLBACKP for compatibility + * with the IBM VisualAge C++ compiler in src-glu. + * + * . Misc cleanups for warnings generated with Watcom C++ in src-glu. Compiles + * with 0 warnings now. + * + * . tess_hash.c: line 244 - Why is this function stubbed out? I removed the + * code with a #if 0 to avoid a compiler warning, but it looks dangerous. + * + * Revision 1.1.1.1 1999/08/19 00:55:42 jtg + * Imported sources * * Revision 1.5 1999/02/27 13:55:31 brianp * fixed BeOS-related GLU typedef problems @@ -151,7 +168,7 @@ typedef struct struct GLUnurbs { GLboolean culling; GLenum error; - void (GLCALLBACK *error_callback)( GLenum err ); + void (GLCALLBACKP error_callback)( GLenum err ); GLenum display_mode; GLU_nurbs_enum nurbs_type; GLboolean auto_load_matrix; |