Browse Source

define GLUAPI, GLAPIENTRY and GLCALLBACK to nothing if not using Mesa's gl.h

tags/mesa_3_1
Brian Paul 26 years ago
parent
commit
a6f09fa880
1 changed files with 16 additions and 1 deletions
  1. 16
    1
      include/GL/glu.h

+ 16
- 1
include/GL/glu.h View File

@@ -1,4 +1,4 @@
/* $Id: glu.h,v 1.10 1999/09/19 10:04:01 tjump Exp $ */
/* $Id: glu.h,v 1.11 1999/10/22 10:47:01 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@

/*
* $Log: glu.h,v $
* Revision 1.11 1999/10/22 10:47:01 brianp
* define GLUAPI, GLAPIENTRY and GLCALLBACK to nothing if not using Mesa's gl.h
*
* Revision 1.10 1999/09/19 10:04:01 tjump
* Changed name 'glGetProcAddressEXT' to 'gluGetProcAddressEXT'
*
@@ -112,6 +115,18 @@ extern "C" {
#endif
#endif

#ifndef GLUAPI
#define GLUAPI
#endif

#ifndef GLAPIENTRY
#define GLAPIENTRY
#endif

#ifndef GLCALLBACK
#define GLCALLBACK
#endif


#define GLU_VERSION_1_1 1
#define GLU_VERSION_1_2 1

Loading…
Cancel
Save