diff options
author | Brian Paul <[email protected]> | 2004-11-27 04:54:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-11-27 04:54:48 +0000 |
commit | 2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47 (patch) | |
tree | defa4992a262ddf5bf0e61c1c9bc973b3dbc578c /include/GL/glut.h | |
parent | 59fcd54f29e77c245674a91bd3f8fb253fd526dc (diff) |
typedef GLUTproc, return it from glutGetProcAddress()
Diffstat (limited to 'include/GL/glut.h')
-rw-r--r-- | include/GL/glut.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h index 7977dc94c92..c1b78aa4e59 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -664,7 +664,8 @@ GLUTAPI int GLUTAPIENTRY glutGetModifiers(void); GLUTAPI int GLUTAPIENTRY glutLayerGet(GLenum type); #endif #if (GLUT_API_VERSION >= 5) -GLUTAPI void * GLUTAPIENTRY glutGetProcAddress(const char *procName); +typedef void (*GLUTproc)(); +GLUTAPI GLUTproc GLUTAPIENTRY glutGetProcAddress(const char *procName); #endif /* GLUT font sub-API */ |