summaryrefslogtreecommitdiffstats
path: root/include
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
parent59fcd54f29e77c245674a91bd3f8fb253fd526dc (diff)
downloadexternal_mesa3d-2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47.zip
external_mesa3d-2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47.tar.gz
external_mesa3d-2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47.tar.bz2
typedef GLUTproc, return it from glutGetProcAddress()
Diffstat (limited to 'include')
-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 7977dc9..c1b78aa 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 */