Mesa (master): glx: Fix compilation with out xf86vidmode

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Sep 7 18:34:03 UTC 2010


Module: Mesa
Branch: master
Commit: 57d3f71132a59315d47c42a110228a523f9ea23d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57d3f71132a59315d47c42a110228a523f9ea23d

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep  7 14:23:00 2010 -0400

glx: Fix compilation with out xf86vidmode

---

 src/glx/glxcmds.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index d9e370c..4bdb41d 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -2065,15 +2065,9 @@ __glxGetMscRate(__GLXDRIdrawable *glxDraw,
       return True;
    }
    else
-      return False;
-#else
-   (void) draw;
-   (void) numerator;
-   (void) denominator;
-   (void) private;
+#endif
 
    return False;
-#endif
 }
 #endif
 




More information about the mesa-commit mailing list