From f2f5f4f8842b984d58f8a24f0a6c3c150f53baad Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 Feb 2003 23:56:21 +0000 Subject: replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h --- src/glut/glx/glut_event.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/glut/glx/glut_event.c') diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c index d2c2c4810f..0b65cf3039 100644 --- a/src/glut/glx/glut_event.c +++ b/src/glut/glx/glut_event.c @@ -103,13 +103,13 @@ Atom __glutMotifHints = None; unsigned int __glutModifierMask = (unsigned int) ~0; int __glutWindowDamaged = 0; -void APIENTRY +void GLUTAPIENTRY glutIdleFunc(GLUTidleCB idleFunc) { __glutIdleFunc = idleFunc; } -void APIENTRY +void GLUTAPIENTRY glutTimerFunc(unsigned int interval, GLUTtimerCB timerFunc, int value) { GLUTtimer *timer, *other; @@ -215,7 +215,7 @@ __glutPostRedisplay(GLUTwindow * window, int layerMask) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutPostRedisplay(void) { __glutPostRedisplay(__glutCurrentWindow, GLUT_REDISPLAY_WORK); @@ -225,7 +225,7 @@ glutPostRedisplay(void) glutSetWindow call (entailing an expensive OpenGL context switch), particularly useful when multiple windows need redisplays posted at the same times. See also glutPostWindowOverlayRedisplay. */ -void APIENTRY +void GLUTAPIENTRY glutPostWindowRedisplay(int win) { __glutPostRedisplay(__glutWindowList[win - 1], GLUT_REDISPLAY_WORK); @@ -1351,7 +1351,7 @@ __glutProcessWindowWorkLists(void) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutMainLoop(void) { #if !defined(_WIN32) -- cgit v1.2.3