[Intel-gfx] compiz swapbuffers patch

Barry Scott barry.scott at onelan.co.uk
Fri May 8 11:27:49 CEST 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 Intel-gfx mailing list