summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_overlay.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-02-12 23:56:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-02-12 23:56:21 +0000
commitf2f5f4f8842b984d58f8a24f0a6c3c150f53baad (patch)
treeb6ff8c1b153d8ae97ee0a4aa71a18d507a3f8f1e /src/glut/glx/glut_overlay.c
parent095f59a30347fea0fc804400620a64dbb7a9273c (diff)
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_overlay.c')
-rw-r--r--src/glut/glx/glut_overlay.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/glut/glx/glut_overlay.c b/src/glut/glx/glut_overlay.c
index 33ab53982e..937ecb6824 100644
--- a/src/glut/glx/glut_overlay.c
+++ b/src/glut/glx/glut_overlay.c
@@ -356,7 +356,7 @@ determineOverlayVisual(int *treatAsSingle, Bool * visAlloced, void **fbc)
}
/* CENTRY */
-void APIENTRY
+void GLUTAPIENTRY
glutEstablishOverlay(void)
{
GLUToverlay *overlay;
@@ -458,7 +458,7 @@ glutEstablishOverlay(void)
}
}
-void APIENTRY
+void GLUTAPIENTRY
glutRemoveOverlay(void)
{
GLUTwindow *window = __glutCurrentWindow;
@@ -481,7 +481,7 @@ glutRemoveOverlay(void)
#endif
}
-void APIENTRY
+void GLUTAPIENTRY
glutUseLayer(GLenum layer)
{
GLUTwindow *window = __glutCurrentWindow;
@@ -511,7 +511,7 @@ glutUseLayer(GLenum layer)
__glutSetWindow(window);
}
-void APIENTRY
+void GLUTAPIENTRY
glutPostOverlayRedisplay(void)
{
__glutPostRedisplay(__glutCurrentWindow, GLUT_OVERLAY_REDISPLAY_WORK);
@@ -521,13 +521,13 @@ glutPostOverlayRedisplay(void)
glutSetWindow call (entailing an expensive OpenGL context
switch), particularly useful when multiple windows need
redisplays posted at the same times. */
-void APIENTRY
+void GLUTAPIENTRY
glutPostWindowOverlayRedisplay(int win)
{
__glutPostRedisplay(__glutWindowList[win - 1], GLUT_OVERLAY_REDISPLAY_WORK);
}
-void APIENTRY
+void GLUTAPIENTRY
glutOverlayDisplayFunc(GLUTdisplayCB displayFunc)
{
if (!__glutCurrentWindow->overlay) {
@@ -537,7 +537,7 @@ glutOverlayDisplayFunc(GLUTdisplayCB displayFunc)
__glutCurrentWindow->overlay->display = displayFunc;
}
-void APIENTRY
+void GLUTAPIENTRY
glutHideOverlay(void)
{
if (!__glutCurrentWindow->overlay) {
@@ -548,7 +548,7 @@ glutHideOverlay(void)
__glutCurrentWindow->overlay->shownState = 0;
}
-void APIENTRY
+void GLUTAPIENTRY
glutShowOverlay(void)
{
if (!__glutCurrentWindow->overlay) {
@@ -559,7 +559,7 @@ glutShowOverlay(void)
__glutCurrentWindow->overlay->shownState = 1;
}
-int APIENTRY
+int GLUTAPIENTRY
glutLayerGet(GLenum param)
{
switch (param) {