From: Kristian Høgsberg Date: Tue, 7 Sep 2010 18:23:00 +0000 (-0400) Subject: glx: Fix compilation with out xf86vidmode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57d3f71132a59315d47c42a110228a523f9ea23d;p=mesa.git glx: Fix compilation with out xf86vidmode --- diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index d9e370c1997..4bdb41d1b8c 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