summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 04:54:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 04:54:48 +0000
commit2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47 (patch)
treedefa4992a262ddf5bf0e61c1c9bc973b3dbc578c /include/GL
parent59fcd54f29e77c245674a91bd3f8fb253fd526dc (diff)
typedef GLUTproc, return it from glutGetProcAddress()
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glut.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index 7977dc94c9..c1b78aa4e5 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 */