summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxcmds.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-09 16:25:46 +0000
committerBrian Paul <[email protected]>2006-03-09 16:25:46 +0000
commit841a823d6ded26585aaecbc69a937b1ece8fccb2 (patch)
treeaa43714da1a4aa302a7ce62adeaa6b558cdae420 /src/glx/x11/glxcmds.c
parent0d57301ba20568953b9196a4e191cd5656b22370 (diff)
s/GLint/int/, to fit GLX conventions
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r--src/glx/x11/glxcmds.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c
index d23a5307104..d4f579d01ac 100644
--- a/src/glx/x11/glxcmds.c
+++ b/src/glx/x11/glxcmds.c
@@ -1722,7 +1722,7 @@ PUBLIC int glXSwapIntervalSGI(int interval)
/*
** GLX_MESA_swap_control
*/
-PUBLIC GLint glXSwapIntervalMESA(unsigned interval)
+PUBLIC int glXSwapIntervalMESA(unsigned int interval)
{
#ifdef GLX_DIRECT_RENDERING
GLXContext gc = __glXGetCurrentContext();
@@ -1754,7 +1754,8 @@ PUBLIC GLint glXSwapIntervalMESA(unsigned interval)
return GLX_BAD_CONTEXT;
}
-PUBLIC GLint glXGetSwapIntervalMESA( void )
+
+PUBLIC int glXGetSwapIntervalMESA(void)
{
#ifdef GLX_DIRECT_RENDERING
GLXContext gc = __glXGetCurrentContext();