[compiz] [Intel-gfx] compiz swapbuffers patch

Barry Scott barry.scott at onelan.co.uk
Fri May 8 02:27:49 PDT 2009


Jesse Barnes wrote:

Why are you comparing booleans to TRUE and worse then negating the result?

if( !noWait )

Is clearer.

-			waitForVideoSync (s);
+			if (!(noWait == TRUE))
+			    waitForVideoSync (s);


Barry







More information about the compiz mailing list