summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_cindex.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_cindex.c
parent095f59a30347fea0fc804400620a64dbb7a9273c (diff)
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_cindex.c')
-rw-r--r--src/glut/glx/glut_cindex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut/glx/glut_cindex.c b/src/glut/glx/glut_cindex.c
index c47b21ea79..d0c12bf3a0 100644
--- a/src/glut/glx/glut_cindex.c
+++ b/src/glut/glx/glut_cindex.c
@@ -11,7 +11,7 @@
#define CLAMP(i) ((i) > 1.0 ? 1.0 : ((i) < 0.0 ? 0.0 : (i)))
/* CENTRY */
-void APIENTRY
+void GLUTAPIENTRY
glutSetColor(int ndx, GLfloat red, GLfloat green, GLfloat blue)
{
GLUTcolormap *cmap, *newcmap;
@@ -126,7 +126,7 @@ glutSetColor(int ndx, GLfloat red, GLfloat green, GLfloat blue)
XStoreColor(__glutDisplay, cmap->cmap, &color);
}
-GLfloat APIENTRY
+GLfloat GLUTAPIENTRY
glutGetColor(int ndx, int comp)
{
GLUTcolormap *colormap;
@@ -161,7 +161,7 @@ glutGetColor(int ndx, int comp)
return colormap->cells[ndx].component[comp];
}
-void APIENTRY
+void GLUTAPIENTRY
glutCopyColormap(int winnum)
{
GLUTwindow *window = __glutWindowList[winnum - 1];