summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcurrent.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-28 10:20:41 -0400
committerKristian Høgsberg <[email protected]>2010-07-28 16:42:00 -0400
commit38c51a76533a90cf2c9381c99247cfac45fe70eb (patch)
tree6e9a020fdb29cb0efd72b5106273ba5bfb8a1b3f /src/glx/glxcurrent.c
parent65d98e25770487456eb3d7eb8ec3ec8272f170b1 (diff)
glx: Use _X_EXPORT instead of our own PUBLIC macro
We're an X client library, so we can use Xfuncproto.h.
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r--src/glx/glxcurrent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index 416e9c42c5a..99930f691cd 100644
--- a/src/glx/glxcurrent.c
+++ b/src/glx/glxcurrent.c
@@ -179,7 +179,7 @@ __glXSetCurrentContextNull(void)
/************************************************************************/
-PUBLIC GLXContext
+_X_EXPORT GLXContext
glXGetCurrentContext(void)
{
GLXContext cx = __glXGetCurrentContext();
@@ -192,7 +192,7 @@ glXGetCurrentContext(void)
}
}
-PUBLIC GLXDrawable
+_X_EXPORT GLXDrawable
glXGetCurrentDrawable(void)
{
GLXContext gc = __glXGetCurrentContext();
@@ -518,18 +518,18 @@ MakeContextCurrent(Display * dpy, GLXDrawable draw,
}
-PUBLIC Bool
+_X_EXPORT Bool
glXMakeCurrent(Display * dpy, GLXDrawable draw, GLXContext gc)
{
return MakeContextCurrent(dpy, draw, draw, gc);
}
-PUBLIC
+_X_EXPORT
GLX_ALIAS(Bool, glXMakeCurrentReadSGI,
(Display * dpy, GLXDrawable d, GLXDrawable r, GLXContext ctx),
(dpy, d, r, ctx), MakeContextCurrent)
-PUBLIC
+_X_EXPORT
GLX_ALIAS(Bool, glXMakeContextCurrent,
(Display * dpy, GLXDrawable d, GLXDrawable r,
GLXContext ctx), (dpy, d, r, ctx), MakeContextCurrent)