diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-11-27 04:54:48 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:03:33 +0100 |
commit | 2c1314d6e6ad93a79f2099926c18d5177b145aba (patch) | |
tree | 181b4683cb06a919a34ea667c75e3faf079b64f1 /include/GL/glut.h | |
parent | 24477c0ef5a055578b6bc287c2f35af03c39da58 (diff) | |
download | glut-2c1314d6e6ad93a79f2099926c18d5177b145aba.tar.gz |
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 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 */ |