|
52 | 52 | #endif
|
53 | 53 |
|
54 | 54 | #if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32)
|
55 |
| -# undef GLAPI |
56 |
| -# define GLAPI __declspec(dllexport) |
| 55 | +#undef GLAPI |
| 56 | +#define GLAPI __declspec(dllexport) |
57 | 57 | #elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL)
|
58 | 58 | /* tag specifying we're building for DLL runtime support */
|
59 |
| -# undef GLAPI |
60 |
| -# define GLAPI __declspec(dllimport) |
| 59 | +#undef GLAPI |
| 60 | +#define GLAPI __declspec(dllimport) |
61 | 61 | #elif !defined(GLAPI)
|
62 | 62 | /* for use with static link lib build of Win32 edition only */
|
63 |
| -# define GLAPI extern |
| 63 | +#define GLAPI extern |
64 | 64 | #endif /* _STATIC_MESA support */
|
65 | 65 |
|
66 | 66 | #ifdef USE_OPENGL_ES
|
|
74 | 74 | #ifdef __cplusplus
|
75 | 75 | extern "C" {
|
76 | 76 | #endif
|
77 |
| -GLAPI void GLAPIENTRY gluLookAt (_GL_REAL eyeX, _GL_REAL eyeY, _GL_REAL eyeZ, _GL_REAL centerX, _GL_REAL centerY, _GL_REAL centerZ, _GL_REAL upX, _GL_REAL upY, _GL_REAL upZ); |
78 |
| -GLAPI void GLAPIENTRY gluOrtho2D (_GL_REAL left, _GL_REAL right, _GL_REAL bottom, _GL_REAL top); |
79 |
| -GLAPI void GLAPIENTRY gluPerspective (_GL_REAL fovy, _GL_REAL aspect, _GL_REAL zNear, _GL_REAL zFar); |
80 |
| -GLAPI void GLAPIENTRY gluPickMatrix (_GL_REAL x, _GL_REAL y, _GL_REAL delX, _GL_REAL delY, GLint *viewport); |
81 |
| -GLAPI GLint GLAPIENTRY gluProject (_GL_REAL objX, _GL_REAL objY, _GL_REAL objZ, const _GL_REAL *model, const _GL_REAL *proj, const GLint *view, _GL_REAL* winX, _GL_REAL* winY, _GL_REAL* winZ); |
82 |
| -GLAPI GLint GLAPIENTRY gluUnProject (_GL_REAL winX, _GL_REAL winY, _GL_REAL winZ, const _GL_REAL *model, const _GL_REAL *proj, const GLint *view, _GL_REAL* objX, _GL_REAL* objY, _GL_REAL* objZ); |
83 |
| -GLAPI GLint GLAPIENTRY gluUnProject4 (_GL_REAL winX, _GL_REAL winY, _GL_REAL winZ, _GL_REAL clipW, const _GL_REAL *model, const _GL_REAL *proj, const GLint *view, _GL_CLAMP_REAL nearVal, _GL_CLAMP_REAL farVal, _GL_REAL* objX, _GL_REAL* objY, _GL_REAL* objZ, _GL_REAL* objW); |
| 77 | +GLAPI void GLAPIENTRY gluLookAt(_GL_REAL eyeX, _GL_REAL eyeY, _GL_REAL eyeZ, |
| 78 | + _GL_REAL centerX, _GL_REAL centerY, |
| 79 | + _GL_REAL centerZ, _GL_REAL upX, _GL_REAL upY, |
| 80 | + _GL_REAL upZ); |
| 81 | +GLAPI void GLAPIENTRY gluOrtho2D(_GL_REAL left, _GL_REAL right, _GL_REAL bottom, |
| 82 | + _GL_REAL top); |
| 83 | +GLAPI void GLAPIENTRY gluPerspective(_GL_REAL fovy, _GL_REAL aspect, |
| 84 | + _GL_REAL zNear, _GL_REAL zFar); |
| 85 | +GLAPI void GLAPIENTRY gluPickMatrix(_GL_REAL x, _GL_REAL y, _GL_REAL delX, |
| 86 | + _GL_REAL delY, GLint *viewport); |
| 87 | +GLAPI GLint GLAPIENTRY gluProject(_GL_REAL objX, _GL_REAL objY, _GL_REAL objZ, |
| 88 | + const _GL_REAL *model, const _GL_REAL *proj, |
| 89 | + const GLint *view, _GL_REAL *winX, |
| 90 | + _GL_REAL *winY, _GL_REAL *winZ); |
| 91 | +GLAPI GLint GLAPIENTRY gluUnProject(_GL_REAL winX, _GL_REAL winY, _GL_REAL winZ, |
| 92 | + const _GL_REAL *model, const _GL_REAL *proj, |
| 93 | + const GLint *view, _GL_REAL *objX, |
| 94 | + _GL_REAL *objY, _GL_REAL *objZ); |
| 95 | +GLAPI GLint GLAPIENTRY |
| 96 | +gluUnProject4(_GL_REAL winX, _GL_REAL winY, _GL_REAL winZ, _GL_REAL clipW, |
| 97 | + const _GL_REAL *model, const _GL_REAL *proj, const GLint *view, |
| 98 | + _GL_CLAMP_REAL nearVal, _GL_CLAMP_REAL farVal, _GL_REAL *objX, |
| 99 | + _GL_REAL *objY, _GL_REAL *objZ, _GL_REAL *objW); |
84 | 100 |
|
85 | 101 | #ifdef __cplusplus
|
86 | 102 | }
|
|
0 commit comments