s/GLint/int/, to fit GLX conventions
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 9 Mar 2006 16:25:46 +0000 (16:25 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 9 Mar 2006 16:25:46 +0000 (16:25 +0000)
src/glx/x11/glxcmds.c

index d23a53071048a38a14167b74ba435cf3f1384dd7..d4f579d01acd35f9d04ca87f4464eb68e54c1682 100644 (file)
@@ -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();